diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue
index ae3ebb8c..feec9fda 100644
--- a/src/views/settings/components/Inputs.vue
+++ b/src/views/settings/components/Inputs.vue
@@ -1,6 +1,6 @@
-
+
{{ setting.label }}
@@ -21,7 +21,7 @@
:value="inputValue === null ? 0 : inputValue"
:placeholder="setting.suggestions ? setting.suggestions[0].toString() : null"
:min="0"
- size="large"
+ :size="isDesktop ? 'large' : 'small'"
@change="update($event, settingGroup.group, settingGroup.key, settingParent, setting.key, setting.type, nested)"/>
:
-
+
-
+
@@ -53,6 +53,9 @@ export default {
computed: {
editableKeywordWithInteger() {
return Array.isArray(this.setting.type) && this.setting.type.includes('keyword') && this.setting.type.includes('integer')
+ },
+ isDesktop() {
+ return this.$store.state.app.device === 'desktop'
}
},
methods: {
diff --git a/src/views/settings/components/inputComponents/IconsInput.vue b/src/views/settings/components/inputComponents/IconsInput.vue
index ac994fe1..f9c48608 100644
--- a/src/views/settings/components/inputComponents/IconsInput.vue
+++ b/src/views/settings/components/inputComponents/IconsInput.vue
@@ -8,16 +8,16 @@
-
+
-
+
Add another `key - value` pair to this icon
-
+
Add another icon configuration
@@ -46,6 +46,11 @@ export default {
}
}
},
+ computed: {
+ isDesktop() {
+ return this.$store.state.app.device === 'desktop'
+ }
+ },
methods: {
addIconToIcons() {
const updatedValue = [...this.data, [{ key: '', value: '', id: this.generateID() }]]
diff --git a/src/views/settings/components/inputComponents/MascotsInput.vue b/src/views/settings/components/inputComponents/MascotsInput.vue
index 96ec5ca7..b4ad6980 100644
--- a/src/views/settings/components/inputComponents/MascotsInput.vue
+++ b/src/views/settings/components/inputComponents/MascotsInput.vue
@@ -4,7 +4,7 @@
-
+
@@ -14,7 +14,7 @@
-
+
@@ -41,6 +41,11 @@ export default {
}
}
},
+ computed: {
+ isDesktop() {
+ return this.$store.state.app.device === 'desktop'
+ }
+ },
methods: {
addRowToMascots() {
const updatedValue = [...this.data, { '': { ':url': '', ':mime_type': '', id: this.generateID() }}]
diff --git a/src/views/settings/components/inputComponents/RateLimitInput.vue b/src/views/settings/components/inputComponents/RateLimitInput.vue
index 358dcdf6..5328b347 100644
--- a/src/views/settings/components/inputComponents/RateLimitInput.vue
+++ b/src/views/settings/components/inputComponents/RateLimitInput.vue
@@ -13,7 +13,7 @@
class="limit-input"
@input="parseRateLimiter($event, setting.key, 'limit', 'oneLimit', rateLimitAllUsers)"/>
@@ -45,7 +45,7 @@
@input="parseRateLimiter($event, setting.key, 'limit', 'authUserslimit', [rateLimitUnauthUsers, rateLimitAuthUsers])"/>
@@ -76,6 +76,9 @@ export default {
}
},
computed: {
+ isDesktop() {
+ return this.$store.state.app.device === 'desktop'
+ },
rateLimitAllUsers() {
return this.data[this.setting.key] ? this.data[this.setting.key] : ['', '']
},
diff --git a/src/views/settings/styles/main.scss b/src/views/settings/styles/main.scss
index e644a9da..66a0d2a8 100644
--- a/src/views/settings/styles/main.scss
+++ b/src/views/settings/styles/main.scss
@@ -206,14 +206,16 @@
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
.input-container {
- .el-form-item {
- margin: 0 0 15px 0;
- }
+ width: 100%;
.settings-delete-button {
margin: 4px 7px 0 7px;
}
}
-
+ .settings-input {
+ display: inline-block;
+ width: 90%;
+ margin: 0 0 10px 0;
+ }
.el-input__inner {
padding: 0 5px 0 5px
}
@@ -229,6 +231,31 @@
.el-select__tags {
overflow: hidden;
}
+ .expl, .expl > p {
+ line-height: 16px;
+ }
+ .icon-key-input {
+ width: 40%;
+ margin-right: 4px
+ }
+ .icon-minus-button {
+ width: 28px;
+ height: 28px;
+ margin-top: 4px;
+ }
+ .icon-values-container {
+ margin: 0 7px 7px 0;
+ }
+ .icon-value-input {
+ width: 60%;
+ margin-left: 4px;
+ }
+ .icons-button-container {
+ line-height: 24px;
+ }
+ .line {
+ margin-bottom: 10px;
+ }
.name-input {
width: 40%;
margin-right: 5px