fix alerts in panels
This commit is contained in:
parent
528e7e4496
commit
39eee4412f
@ -14,7 +14,7 @@
|
|||||||
<div
|
<div
|
||||||
v-if="currentSaveStateNotice"
|
v-if="currentSaveStateNotice"
|
||||||
class="alert"
|
class="alert"
|
||||||
:class="{ transparent: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
|
:class="{ success: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
|
||||||
@click.prevent
|
@click.prevent
|
||||||
>
|
>
|
||||||
{{ currentSaveStateNotice.error ? $t('settings.saving_err') : $t('settings.saving_ok') }}
|
{{ currentSaveStateNotice.error ? $t('settings.saving_err') : $t('settings.saving_ok') }}
|
||||||
|
@ -118,6 +118,10 @@
|
|||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .alert {
|
||||||
|
line-height: calc(var(--__panel-heading-height-inner) - 2px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user