From 5c914b7f36ba3654e2bab6c4eaa16d1b811bbb78 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Tue, 18 Feb 2020 01:19:54 +0300 Subject: [PATCH] Add styles for tablet --- src/views/settings/components/Inputs.vue | 2 +- src/views/settings/components/Setting.vue | 6 +- .../inputComponents/EditableKeywordInput.vue | 2 +- .../components/inputComponents/IconsInput.vue | 4 +- .../inputComponents/MascotsInput.vue | 4 +- .../inputComponents/MultipleSelect.vue | 4 +- .../inputComponents/RateLimitInput.vue | 2 +- src/views/settings/styles/main.scss | 101 ++++++++++++++++-- 8 files changed, 107 insertions(+), 18 deletions(-) diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index dabd525c..9b6da5e9 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -15,7 +15,7 @@ :setting-parent="[...settingParent, subSetting]" :setting="subSetting" :data="data[setting.key]" - :custom-label-width="isDesktop ? '120px' : '100px'" + :custom-label-width="isMobile ? '100px' : '120px'" :label-class="subSetting.type === 'keyword' ? 'center-label' : ''" :margin="isDesktop ? margin + 15 : margin + 8" :nested="true"/> diff --git a/src/views/settings/components/Setting.vue b/src/views/settings/components/Setting.vue index 945a2dfa..d676da29 100644 --- a/src/views/settings/components/Setting.vue +++ b/src/views/settings/components/Setting.vue @@ -46,10 +46,10 @@ {{ setting.label }} + + + - - -
-
+
: diff --git a/src/views/settings/components/inputComponents/IconsInput.vue b/src/views/settings/components/inputComponents/IconsInput.vue index 4f940995..f5278bba 100644 --- a/src/views/settings/components/inputComponents/IconsInput.vue +++ b/src/views/settings/components/inputComponents/IconsInput.vue @@ -1,6 +1,6 @@