developer tab fixes
This commit is contained in:
parent
189b092d2c
commit
edbf5f3276
2 changed files with 39 additions and 16 deletions
|
|
@ -1,4 +1,24 @@
|
|||
.developer-tab {
|
||||
.setting-list {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.cache-buttons {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-column: 1 / 3;
|
||||
column-gap: 0.5em;
|
||||
margin: 0 5em;
|
||||
|
||||
.-mobile & {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
row-gap: 0.5em;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
dt {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,22 +32,6 @@
|
|||
{{ $t('settings.virtual_scrolling') }}
|
||||
</BooleanSetting>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="clearAssetCache"
|
||||
>
|
||||
{{ $t('settings.clear_asset_cache') }}
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="clearEmojiCache"
|
||||
>
|
||||
{{ $t('settings.clear_emoji_cache') }}
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<BooleanSetting
|
||||
path="themeDebug"
|
||||
|
|
@ -64,6 +48,25 @@
|
|||
{{ $t('settings.force_theme_recompilation_debug') }}
|
||||
</BooleanSetting>
|
||||
</li>
|
||||
<h4>{{ $t('settings.cache') }}</h4>
|
||||
<li>
|
||||
<div class="setting-item">
|
||||
<div class="cache-buttons">
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="clearAssetCache"
|
||||
>
|
||||
{{ $t('settings.clear_asset_cache') }}
|
||||
</button>
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="clearEmojiCache"
|
||||
>
|
||||
{{ $t('settings.clear_emoji_cache') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue