fix alerts in panels

This commit is contained in:
Henry Jameson 2024-02-28 14:25:22 +02:00
parent 528e7e4496
commit 39eee4412f
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<div
v-if="currentSaveStateNotice"
class="alert"
:class="{ transparent: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
:class="{ success: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
@click.prevent
>
{{ currentSaveStateNotice.error ? $t('settings.saving_err') : $t('settings.saving_ok') }}

View File

@ -118,6 +118,10 @@
padding-bottom: 0;
align-self: stretch;
}
> .alert {
line-height: calc(var(--__panel-heading-height-inner) - 2px);
}
}
}