From 38638e56372961f5442a7ed17015ecdd4ec75c16 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 15 Feb 2020 14:25:45 +0300 Subject: [PATCH] Add a divider to distinguish grouped settings --- src/views/emojiPacks/index.vue | 4 ++-- src/views/reports/components/GroupedReport.vue | 6 +++--- src/views/reports/components/Report.vue | 6 +++--- src/views/settings/components/ActivityPub.vue | 3 ++- src/views/settings/components/Authentication.vue | 6 +++--- src/views/settings/components/Captcha.vue | 2 +- src/views/settings/components/Frontend.vue | 6 +++--- src/views/settings/components/Http.vue | 6 +++--- src/views/settings/components/Inputs.vue | 1 - src/views/settings/components/Instance.vue | 10 +++++----- src/views/settings/components/Logger.vue | 6 +++--- src/views/settings/components/MRF.vue | 10 +++++----- src/views/settings/components/Mailer.vue | 2 +- src/views/settings/components/Metadata.vue | 2 +- src/views/settings/components/Other.vue | 2 +- src/views/settings/components/Setting.vue | 6 +++++- src/views/settings/components/Upload.vue | 6 +++--- .../components/inputComponents/IconsInput.vue | 2 +- src/views/settings/styles/main.scss | 13 +++++++++++-- 19 files changed, 56 insertions(+), 43 deletions(-) diff --git a/src/views/emojiPacks/index.vue b/src/views/emojiPacks/index.vue index 48c7a0e3..78716d55 100644 --- a/src/views/emojiPacks/index.vue +++ b/src/views/emojiPacks/index.vue @@ -9,7 +9,7 @@ -
+ {{ $t('emoji.refreshLocalPacks') }} @@ -30,7 +30,7 @@ -
+
-
+ {{ $t('reports.account') }}:
-
+ {{ $t('reports.account') }}:
-
+ {{ $t('reports.content') }}: {{ report.content }}
-
+ {{ $t('reports.actor') }}: -
+ + diff --git a/src/views/settings/components/Authentication.vue b/src/views/settings/components/Authentication.vue index e83db32a..2e80824d 100644 --- a/src/views/settings/components/Authentication.vue +++ b/src/views/settings/components/Authentication.vue @@ -3,15 +3,15 @@ -
+ -
+ -
+ diff --git a/src/views/settings/components/Captcha.vue b/src/views/settings/components/Captcha.vue index f677f641..0094c0e4 100644 --- a/src/views/settings/components/Captcha.vue +++ b/src/views/settings/components/Captcha.vue @@ -3,7 +3,7 @@ -
+ diff --git a/src/views/settings/components/Frontend.vue b/src/views/settings/components/Frontend.vue index 9a1d6dc0..614e5f94 100644 --- a/src/views/settings/components/Frontend.vue +++ b/src/views/settings/components/Frontend.vue @@ -9,18 +9,18 @@ -
+ {{ $t('settings.emoji') }} -
+ -
+ {{ $t('settings.markup') }} diff --git a/src/views/settings/components/Http.vue b/src/views/settings/components/Http.vue index f6605c4b..7de0845d 100644 --- a/src/views/settings/components/Http.vue +++ b/src/views/settings/components/Http.vue @@ -9,15 +9,15 @@ -
+ -
+ -
+ diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index 93d0f28e..6d1b9c32 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -87,7 +87,6 @@
diff --git a/src/views/settings/components/Instance.vue b/src/views/settings/components/Instance.vue index b66f56ab..32562dd5 100644 --- a/src/views/settings/components/Instance.vue +++ b/src/views/settings/components/Instance.vue @@ -3,23 +3,23 @@ -
+ -
+ -
+ -
+ -
+ diff --git a/src/views/settings/components/Logger.vue b/src/views/settings/components/Logger.vue index 08fe4d81..064ea584 100644 --- a/src/views/settings/components/Logger.vue +++ b/src/views/settings/components/Logger.vue @@ -3,15 +3,15 @@ -
+ -
+ -
+ diff --git a/src/views/settings/components/MRF.vue b/src/views/settings/components/MRF.vue index 41838421..beb28e7c 100644 --- a/src/views/settings/components/MRF.vue +++ b/src/views/settings/components/MRF.vue @@ -3,15 +3,15 @@ -
+ -
+ -
+ @@ -21,11 +21,11 @@ -
+ -
+ diff --git a/src/views/settings/components/Mailer.vue b/src/views/settings/components/Mailer.vue index cfd098c0..dbe14ba9 100644 --- a/src/views/settings/components/Mailer.vue +++ b/src/views/settings/components/Mailer.vue @@ -3,7 +3,7 @@ -
+ diff --git a/src/views/settings/components/Metadata.vue b/src/views/settings/components/Metadata.vue index 78b8d78b..e085f7da 100644 --- a/src/views/settings/components/Metadata.vue +++ b/src/views/settings/components/Metadata.vue @@ -3,7 +3,7 @@ -
+ diff --git a/src/views/settings/components/Other.vue b/src/views/settings/components/Other.vue index bcae1817..bff68f9c 100644 --- a/src/views/settings/components/Other.vue +++ b/src/views/settings/components/Other.vue @@ -3,7 +3,7 @@ -
+ diff --git a/src/views/settings/components/Setting.vue b/src/views/settings/components/Setting.vue index 116aada5..4b163521 100644 --- a/src/views/settings/components/Setting.vue +++ b/src/views/settings/components/Setting.vue @@ -29,6 +29,7 @@ :nested="false"/>
+
-
+
@@ -119,6 +120,9 @@ export default { type.includes('keyword') || key === ':replace' }, + divideSetting(key) { + return [':sslopts', ':tlsopts', ':adapter', ':poll_limits', ':queues', ':styling', ':proxy_opts'].includes(key) + }, getFormattedDescription(desc) { return marked(desc) }, diff --git a/src/views/settings/components/Upload.vue b/src/views/settings/components/Upload.vue index 34b22e1f..b6e817b6 100644 --- a/src/views/settings/components/Upload.vue +++ b/src/views/settings/components/Upload.vue @@ -8,16 +8,16 @@ Pleroma.Uploaders.Local -
+ -
+ -
+ diff --git a/src/views/settings/components/inputComponents/IconsInput.vue b/src/views/settings/components/inputComponents/IconsInput.vue index f9c48608..4f940995 100644 --- a/src/views/settings/components/inputComponents/IconsInput.vue +++ b/src/views/settings/components/inputComponents/IconsInput.vue @@ -14,7 +14,7 @@ Add another `key - value` pair to this icon
-
+
diff --git a/src/views/settings/styles/main.scss b/src/views/settings/styles/main.scss index c13f259e..f9c189d1 100644 --- a/src/views/settings/styles/main.scss +++ b/src/views/settings/styles/main.scss @@ -34,6 +34,9 @@ overflow-wrap: break-word; margin-bottom: 0; } + .divider { + margin: 0 0 18px 0; + } .el-form-item .rate-limit { margin-right: 0; } @@ -145,7 +148,7 @@ width: 100%; height: 0; border: 1px solid #eee; - margin-bottom: 22px; + margin-bottom: 18px; } .mascot-container { margin-bottom: 15px; @@ -291,6 +294,9 @@ font-size: 14px; } } + .divider { + margin: 0 0 10px 0; + } .follow-relay { width: 70%; margin-right: 5px; @@ -304,7 +310,7 @@ } .input-container { width: 100%; - .el-form-item { + .el-form-item:first-child { margin: 0; padding: 0 15px 10px 0; } @@ -349,6 +355,9 @@ .socks5-checkbox-container { width: 100%; } + .submit-button { + margin: 0 15px 22px 0; + } .el-input__inner { padding: 0 5px 0 5px }