mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
* refresh callout ui * fix callout padding * Use more descriptive example text * position icon. Change padding back
25 lines
636 B
HTML
25 lines
636 B
HTML
<aside
|
|
class="tw-mb-4 tw-box-border tw-rounded-lg tw-bg-background tw-ps-3 tw-pe-3 tw-py-2 tw-leading-5 tw-text-main"
|
|
[ngClass]="calloutClass"
|
|
[attr.aria-labelledby]="titleId"
|
|
>
|
|
@if (title) {
|
|
<header
|
|
id="{{ titleId }}"
|
|
class="tw-mb-1 tw-mt-0 tw-text-base tw-font-semibold tw-flex tw-gap-2 tw-items-start"
|
|
>
|
|
@if (icon) {
|
|
<i
|
|
class="bwi !tw-text-main tw-relative tw-top-[3px]"
|
|
[ngClass]="[icon]"
|
|
aria-hidden="true"
|
|
></i>
|
|
}
|
|
{{ title }}
|
|
</header>
|
|
}
|
|
<div class="tw-ps-6" bitTypography="body2">
|
|
<ng-content></ng-content>
|
|
</div>
|
|
</aside>
|