1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

[CL-335][CL-336][CL-374] Announce toasts more consistently (#13167)

This commit is contained in:
Vicki League
2025-02-13 14:56:43 -05:00
committed by GitHub
parent 86ce9d3cc8
commit fabcf04398
10 changed files with 80 additions and 20 deletions

View File

@@ -2,6 +2,7 @@
class="tw-mb-1 tw-min-w-[--bit-toast-width] tw-text-main tw-flex tw-flex-col tw-justify-between tw-rounded-md tw-pointer-events-auto tw-cursor-default tw-overflow-hidden tw-shadow-lg {{
bgColor
}}"
[attr.role]="variant === 'error' ? 'alert' : null"
>
<div class="tw-flex tw-items-center tw-gap-4 tw-px-2 tw-pb-1 tw-pt-2">
<i aria-hidden="true" class="bwi tw-text-xl tw-py-1.5 tw-px-2.5 {{ iconClass }}"></i>