fix scrollbars in panel headers

This commit is contained in:
Henry Jameson 2022-04-20 00:46:04 +03:00
parent bb29218a6c
commit 9ae8ff0098
2 changed files with 9 additions and 16 deletions

View file

@ -11,22 +11,13 @@
{{ $t('settings.settings') }} {{ $t('settings.settings') }}
</span> </span>
<transition name="fade"> <transition name="fade">
<div v-if="currentSaveStateNotice">
<div <div
v-if="currentSaveStateNotice.error" v-if="currentSaveStateNotice"
class="alert error" class="alert"
:class="{ transparent: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
@click.prevent @click.prevent
> >
{{ $t('settings.saving_err') }} {{ currentSaveStateNotice.error ? $t('settings.saving_err') : $t('settings.saving_ok') }}
</div>
<div
v-if="!currentSaveStateNotice.error"
class="alert transparent"
@click.prevent
>
{{ $t('settings.saving_ok') }}
</div>
</div> </div>
</transition> </transition>
<button <button

View file

@ -118,6 +118,8 @@
margin: 0; margin: 0;
margin-left: 0.5em; margin-left: 0.5em;
min-width: 1px; min-width: 1px;
padding-top: 0;
padding-bottom: 0;
} }
.button-default { .button-default {