diff --git a/backend/core/core.js b/backend/core/core.js index 85d8a58..0ac804e 100644 --- a/backend/core/core.js +++ b/backend/core/core.js @@ -26,7 +26,7 @@ let settings = { CD_JSON: true, WEBSITE_NAME: "", - PLAUSIBLE_URL: "", + CUSTOM_HEADER: "", USER_MINIMUM_PASSWORD_LENGTH: 7, diff --git a/frontend/views/themes/default/css/settings.css b/frontend/views/themes/default/css/settings.css index 315aecc..3e651c2 100644 --- a/frontend/views/themes/default/css/settings.css +++ b/frontend/views/themes/default/css/settings.css @@ -42,6 +42,23 @@ text-align: right; font-size: 1rem; } +.page .page-center .setting-list .largeset { + flex-direction: column; + height: -moz-fit-content; + height: fit-content; +} +.page .page-center .setting-list .largeset .value { + width: 100%; + padding: 0.25rem; + box-sizing: border-box; +} +.page .page-center .setting-list .largeset .value textarea { + width: 100%; + margin: auto; + font-size: initial; + resize: vertical; + min-height: 3rem; +} .page .page-center .setting-list .setting.fit-column { flex-direction: column; width: 100%; diff --git a/frontend/views/themes/default/css/settings.scss b/frontend/views/themes/default/css/settings.scss index 0b90ee5..6679347 100644 --- a/frontend/views/themes/default/css/settings.scss +++ b/frontend/views/themes/default/css/settings.scss @@ -47,6 +47,23 @@ } } + .largeset { + flex-direction: column; + height: fit-content; + .value { + width: 100%; + padding: 0.25rem; + box-sizing: border-box; + textarea { + width: 100%; + margin: auto; + font-size: initial; + resize: vertical; + min-height: 3rem; + } + } + } + .setting.fit-column { flex-direction: column; width: 100%; diff --git a/frontend/views/themes/default/ejs/admin-settings.ejs b/frontend/views/themes/default/ejs/admin-settings.ejs index d545034..ec3f5b3 100644 --- a/frontend/views/themes/default/ejs/admin-settings.ejs +++ b/frontend/views/themes/default/ejs/admin-settings.ejs @@ -1,11 +1,10 @@
- + <%- include("partials/document-head.ejs") %> -