Enable mobile theme editing

This commit is contained in:
tusooa 2025-03-10 23:36:04 -04:00
commit ce24132c33
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
10 changed files with 22 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<AppearanceTab />
</div>
<div
v-if="expertLevel > 0 && !isMobileLayout"
v-if="expertLevel > 0"
:label="$t('settings.style.themes3.editor.title')"
icon="palette"
data-tab-name="style"
@ -31,7 +31,7 @@
<StyleTab />
</div>
<div
v-if="expertLevel > 0 && !isMobileLayout"
v-if="expertLevel > 0"
:label="$t('settings.theme_old')"
icon="paint-brush"
data-tab-name="theme"

View file

@ -336,6 +336,15 @@
{{ $t('settings.show_scrollbars') }}
</BooleanSetting>
</li>
<li>
<UnitSetting
path="themeEditorMinWidth"
:units="['px', 'rem']"
expert="1"
>
{{ $t('settings.theme_editor_min_width') }}
</UnitSetting>
</li>
</ul>
</div>
<div class="setting-item">

View file

@ -1,4 +1,6 @@
.StyleTab {
min-width: var(--themeEditorMinWidth, fit-content);
.style-control {
display: flex;
flex-wrap: wrap;

View file

@ -1,4 +1,6 @@
.theme-tab {
min-width: var(--themeEditorMinWidth, fit-content);
.deprecation-warning {
padding: 0.5em;
margin: 2em;