Merge branch 'setting-theme-jitter' into 'main'
Fix jitter when toggling "adapt to system theme" Closes #1339 See merge request framasoft/mobilizon!1428
This commit is contained in:
commit
da40a63737
@ -23,8 +23,8 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend class="sr-only">{{ t("Theme") }}</legend>
|
<legend class="sr-only">{{ t("Theme") }}</legend>
|
||||||
<o-radio
|
<o-radio
|
||||||
:class="{ 'border-mbz-bluegreen border-2': theme === 'light' }"
|
:class="{ 'border-mbz-bluegreen': theme === 'light' }"
|
||||||
class="p-4 bg-white text-zinc-800 rounded-md mt-2 mr-2"
|
class="p-4 bg-white text-zinc-800 rounded-md mt-2 mr-2 border-2"
|
||||||
:disabled="systemTheme"
|
:disabled="systemTheme"
|
||||||
v-model="theme"
|
v-model="theme"
|
||||||
name="theme"
|
name="theme"
|
||||||
@ -32,8 +32,8 @@
|
|||||||
>{{ t("Light") }}</o-radio
|
>{{ t("Light") }}</o-radio
|
||||||
>
|
>
|
||||||
<o-radio
|
<o-radio
|
||||||
:class="{ 'border-mbz-bluegreen border-2': theme === 'dark' }"
|
:class="{ 'border-mbz-bluegreen': theme === 'dark' }"
|
||||||
class="p-4 bg-zinc-800 rounded-md text-white mt-2 ml-2"
|
class="p-4 bg-zinc-800 rounded-md text-white mt-2 ml-2 border-2"
|
||||||
:disabled="systemTheme"
|
:disabled="systemTheme"
|
||||||
v-model="theme"
|
v-model="theme"
|
||||||
name="theme"
|
name="theme"
|
||||||
|
Loading…
Reference in New Issue
Block a user