commit: 541affd459b2fb6dbdcfe7107b1658431dc9f22c
parent a21f25ed8eff67ed9ea36e9e82f57e9d422150c4
Author: Henry Jameson <me@hjkos.com>
Date: Sat, 5 Oct 2024 18:40:59 +0300
lint
Diffstat:
5 files changed, 7 insertions(+), 22 deletions(-)
diff --git a/src/components/select/select_motion.vue b/src/components/select/select_motion.vue
@@ -17,18 +17,18 @@
:disabled="disabled || !moveUpValid"
:class="{ disabled: disabled || !moveUpValid }"
@click="moveUp"
- >
+ >
<FAIcon
fixed-width
icon="chevron-up"
- />
+ />
</button>
<button
class="btn button-default"
:disabled="disabled || !moveDnValid"
:class="{ disabled: disabled || !moveDnValid }"
@click="moveDn"
- >
+ >
<FAIcon
fixed-width
icon="chevron-down"
diff --git a/src/components/settings_modal/tabs/appearance_tab.vue b/src/components/settings_modal/tabs/appearance_tab.vue
@@ -92,7 +92,7 @@
</template>
<template v-else-if="customThemeVersion === 'v2'">
<div class="alert neutral theme-notice unsupported-theme-v2">
- {{$t('settings.style.themes3.palette.v2_unsupported')}}
+ {{ $t('settings.style.themes3.palette.v2_unsupported') }}
</div>
</template>
</div>
diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.vue b/src/components/settings_modal/tabs/style_tab/style_tab.vue
@@ -53,8 +53,8 @@
</div>
<tab-switcher>
<div
- class="setting-item component-editor"
key="component"
+ class="setting-item component-editor"
:label="$t('settings.style.themes3.editor.component_tab')"
>
<div class="component-selector">
diff --git a/src/components/shadow_control/shadow_control.scss b/src/components/shadow_control/shadow_control.scss
@@ -17,19 +17,6 @@
.shadow-list {
flex: 1 0 auto;
}
-
- .arrange-buttons {
- flex: 0 0 auto;
- display: grid;
- grid-auto-columns: 1fr;
- grid-auto-flow: column;
- margin-top: 0.25em;
-
- .button-default {
- margin: 0;
- padding: 0;
- }
- }
}
.shadow-tweak {
diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue
@@ -29,9 +29,8 @@
</option>
</Select>
<SelectMotion
- class="arrange-buttons"
v-model="cValue"
- :selectedId="selectedId"
+ :selected-id="selectedId"
:get-add-value="getNewSubshadow"
:disabled="disabled"
@update:selectedId="onSelectChange"
@@ -55,8 +54,7 @@
class="input shadow-expression"
:disabled="disabled || shadowsAreNull"
:class="{disabled: disabled || shadowsAreNull}"
- >
- </textarea>
+ />
</template>
<template v-else-if="selectedType === 'object'">
<div