logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: 20e6382df6354f1df457d152467922967e7f37c5
parent dee3cf7883fa41986d1de2248801ca415d59ee3f
Author: Henry Jameson <me@hjkos.com>
Date:   Thu,  3 Oct 2024 00:53:50 +0300

fix states not showing, move palette out of the way

Diffstat:

Msrc/components/settings_modal/tabs/style_tab/style_tab.vue58+++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.vue b/src/components/settings_modal/tabs/style_tab/style_tab.vue @@ -51,32 +51,6 @@ </li> </ul> </div> - <div class="setting-item palette-editor"> - <div class="label"> - <label for="palette-selector"> - {{ $t('settings.style.themes3.palette.label') }} - {{ ' ' }} - </label> - <Select - id="palette-selector" - v-model="editedPalette" - > - <option - key="dark" - value="dark" - > - {{ $t('settings.style.themes3.palette.dark') }} - </option> - <option - key="light" - value="light" - > - {{ $t('settings.style.themes3.palette.light') }} - </option> - </Select> - </div> - <PaletteEditor v-model="palette" /> - </div> <div class="setting-item component-editor"> <div class="component-selector"> <label for="component-selector"> @@ -126,11 +100,11 @@ class="state-selector-list" > <li - v-for="state in selectedStates" - :key="'component-variant-' + state" + v-for="state in selectedComponentStates" + :key="'component-state-' + state" > <Checkbox - :value="selectedStates.has(state)" + :value="selectedState.has(state)" @update:modelValue="(v) => updateSelectedStates(state, v)" > {{ fallbackI18n($t(getStatePath(selectedComponentName, state)), state) }} @@ -276,6 +250,32 @@ </div> </tab-switcher> </div> + <div class="setting-item palette-editor"> + <div class="label"> + <label for="palette-selector"> + {{ $t('settings.style.themes3.palette.label') }} + {{ ' ' }} + </label> + <Select + id="palette-selector" + v-model="editedPalette" + > + <option + key="dark" + value="dark" + > + {{ $t('settings.style.themes3.palette.dark') }} + </option> + <option + key="light" + value="light" + > + {{ $t('settings.style.themes3.palette.light') }} + </option> + </Select> + </div> + <PaletteEditor v-model="palette" /> + </div> </div> </template>