Fix toast background and set z-index

This commit is contained in:
Arnaud 2024-09-13 16:32:52 +02:00
parent bba9a907a4
commit fe6990e3eb
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
1 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,8 @@
color: var(--codex-toast-color, --codex-color); color: var(--codex-toast-color, --codex-color);
word-break: break-word; word-break: break-word;
border: 1px solid rgb(var(--codex-toast-color)); border: 1px solid rgb(var(--codex-toast-color));
background: rgba(var(--codex-toast-color), 0.1); background: rgba(var(--codex-toast-color), 1);
z-index: 20;
} }
.toast-close { .toast-close {
@ -33,7 +34,7 @@
.toast-icon { .toast-icon {
fill: rgba(var(--codex-toast-color), 0.2); fill: rgba(var(--codex-toast-color), 0.2);
stroke: rgb(var(--codex-toast-color)); stroke: white;
} }
.toast--success { .toast--success {