mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix: alert's icon variants
This commit is contained in:
parent
457225b980
commit
8b16a3e0e2
1 changed files with 6 additions and 1 deletions
|
@ -31,7 +31,12 @@ const icon = computed(() => {
|
||||||
:class="{ ['alert alert-' + variant]: !alert }"
|
:class="{ ['alert alert-' + variant]: !alert }"
|
||||||
class="yuno-alert d-flex flex-column flex-md-row align-items-center"
|
class="yuno-alert d-flex flex-column flex-md-row align-items-center"
|
||||||
>
|
>
|
||||||
<YIcon v-if="icon" :iname="icon" class="me-md-3 mb-md-0 mb-2 md" />
|
<YIcon
|
||||||
|
v-if="icon"
|
||||||
|
:iname="icon"
|
||||||
|
:variant="variant"
|
||||||
|
class="me-md-3 mb-md-0 mb-2 md"
|
||||||
|
/>
|
||||||
|
|
||||||
<div class="w-100">
|
<div class="w-100">
|
||||||
<slot name="default" />
|
<slot name="default" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue