diff --git a/src/lang/en.js b/src/lang/en.js index 24c1a3b9..3fa42e8c 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -359,7 +359,11 @@ export default { metadatLowerCase: 'metadata', files: 'files', successfullyRemoved: 'Setting removed successfully!', - seeDocs: 'See Documentation' + seeDocs: 'See Documentation', + assets: 'Assets', + emoji: 'Emoji', + markup: 'Markup settings', + corsPlug: 'CORS plug config' }, invites: { inviteTokens: 'Invite tokens', diff --git a/src/views/settings/components/Frontend.vue b/src/views/settings/components/Frontend.vue index 1772bbbc..9a1d6dc0 100644 --- a/src/views/settings/components/Frontend.vue +++ b/src/views/settings/components/Frontend.vue @@ -4,12 +4,16 @@ - + + {{ $t('settings.assets') }} +
- + + {{ $t('settings.emoji') }} +
@@ -18,7 +22,9 @@
- + + {{ $t('settings.markup') }} +
diff --git a/src/views/settings/components/Http.vue b/src/views/settings/components/Http.vue index ae35ddea..f6605c4b 100644 --- a/src/views/settings/components/Http.vue +++ b/src/views/settings/components/Http.vue @@ -4,7 +4,9 @@ - + + {{ $t('settings.corsPlug') }} +
diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index 0ee36961..ad7fa9ea 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -16,8 +16,7 @@ :setting="subSetting" :data="data[setting.key]" :custom-label-width="isDesktop ? '120px' : '100px'" - :label-class="'center-label'" - :input-class="'keyword-inner-input'" + :label-class="subSetting.type === 'keyword' ? 'center-label' : ''" :margin="isDesktop ? margin + 15 : margin + 8" :nested="true"/> @@ -76,20 +75,6 @@ @input="update($event, settingGroup.group, settingGroup.key, settingParent, setting.key, setting.type, nested)"> -
-
- - -
-
@@ -145,13 +130,6 @@ export default { return {} } }, - inputClass: { - type: String, - default: function() { - return 'input-class' - }, - required: false - }, labelClass: { type: String, default: function() { diff --git a/src/views/settings/components/Setting.vue b/src/views/settings/components/Setting.vue index e5a7310d..53e45450 100644 --- a/src/views/settings/components/Setting.vue +++ b/src/views/settings/components/Setting.vue @@ -38,13 +38,13 @@
- + - {{ setting.label }}: + {{ setting.label }} diff --git a/src/views/settings/components/Upload.vue b/src/views/settings/components/Upload.vue index 2d824c6c..34b22e1f 100644 --- a/src/views/settings/components/Upload.vue +++ b/src/views/settings/components/Upload.vue @@ -4,8 +4,8 @@ - -

Pleroma.Uploaders.Local

+ + Pleroma.Uploaders.Local
diff --git a/src/views/settings/styles/main.scss b/src/views/settings/styles/main.scss index f0e218a5..9c1aefd8 100644 --- a/src/views/settings/styles/main.scss +++ b/src/views/settings/styles/main.scss @@ -63,6 +63,9 @@ .form-container { margin-bottom: 80px; } + .grouped-settings-header { + margin: 0 0 14px 0; + } .highlight { background-color: #e6e6e6; } @@ -111,13 +114,16 @@ width: 100%; } } - .keyword-inner-input { - margin-bottom: 22px; - } label { overflow: hidden; text-overflow: ellipsis; } + .label-font { + font-size: 14px; + color: #606266; + font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei"; + font-weight: 700; + } .limit-button-container { display: flex; align-items: baseline; @@ -377,9 +383,6 @@ .icons-button-container { line-height: 24px; } - .keyword-inner-input { - margin-bottom: 10px; - } .line { margin-bottom: 10px; }