This commit is contained in:
Henry Jameson 2024-10-05 18:40:59 +03:00
parent a21f25ed8e
commit 541affd459
5 changed files with 7 additions and 22 deletions

View file

@ -17,18 +17,18 @@
:disabled="disabled || !moveUpValid" :disabled="disabled || !moveUpValid"
:class="{ disabled: disabled || !moveUpValid }" :class="{ disabled: disabled || !moveUpValid }"
@click="moveUp" @click="moveUp"
> >
<FAIcon <FAIcon
fixed-width fixed-width
icon="chevron-up" icon="chevron-up"
/> />
</button> </button>
<button <button
class="btn button-default" class="btn button-default"
:disabled="disabled || !moveDnValid" :disabled="disabled || !moveDnValid"
:class="{ disabled: disabled || !moveDnValid }" :class="{ disabled: disabled || !moveDnValid }"
@click="moveDn" @click="moveDn"
> >
<FAIcon <FAIcon
fixed-width fixed-width
icon="chevron-down" icon="chevron-down"

View file

@ -92,7 +92,7 @@
</template> </template>
<template v-else-if="customThemeVersion === 'v2'"> <template v-else-if="customThemeVersion === 'v2'">
<div class="alert neutral theme-notice unsupported-theme-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> </div>
</template> </template>
</div> </div>

View file

@ -53,8 +53,8 @@
</div> </div>
<tab-switcher> <tab-switcher>
<div <div
class="setting-item component-editor"
key="component" key="component"
class="setting-item component-editor"
:label="$t('settings.style.themes3.editor.component_tab')" :label="$t('settings.style.themes3.editor.component_tab')"
> >
<div class="component-selector"> <div class="component-selector">

View file

@ -17,19 +17,6 @@
.shadow-list { .shadow-list {
flex: 1 0 auto; 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 { .shadow-tweak {

View file

@ -29,9 +29,8 @@
</option> </option>
</Select> </Select>
<SelectMotion <SelectMotion
class="arrange-buttons"
v-model="cValue" v-model="cValue"
:selectedId="selectedId" :selected-id="selectedId"
:get-add-value="getNewSubshadow" :get-add-value="getNewSubshadow"
:disabled="disabled" :disabled="disabled"
@update:selectedId="onSelectChange" @update:selectedId="onSelectChange"
@ -55,8 +54,7 @@
class="input shadow-expression" class="input shadow-expression"
:disabled="disabled || shadowsAreNull" :disabled="disabled || shadowsAreNull"
:class="{disabled: disabled || shadowsAreNull}" :class="{disabled: disabled || shadowsAreNull}"
> />
</textarea>
</template> </template>
<template v-else-if="selectedType === 'object'"> <template v-else-if="selectedType === 'object'">
<div <div