1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00
Files
browser/libs/components/src/callout/callout.component.html
cd-bitwarden fe6c2fbf80 [CL-111] remove h3 from bit-callout (#5853)
* aside added and h3 turned into header

Co-authored-by: willmartian <contact@willmartian.com>
2023-08-19 09:39:10 -04:00

17 lines
523 B
HTML

<aside
class="tw-mb-4 tw-box-border tw-rounded tw-border tw-border-l-8 tw-border-solid tw-border-secondary-300 tw-bg-background-alt tw-px-5 tw-py-3 tw-leading-5 tw-text-main"
[ngClass]="calloutClass"
[attr.aria-labelledby]="titleId"
>
<header
id="{{ titleId }}"
class="tw-mb-2 tw-mt-0 tw-text-base tw-font-bold tw-uppercase"
[ngClass]="headerClass"
*ngIf="title"
>
<i class="bwi {{ icon }}" *ngIf="icon" aria-hidden="true"></i>
{{ title }}
</header>
<ng-content></ng-content>
</aside>