mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-03 13:33:32 +01:00
20 lines
961 B
HTML
20 lines
961 B
HTML
<div
|
|
class="tw-my-4 tw-flex tw-max-h-screen tw-max-w-sm tw-flex-col tw-overflow-hidden tw-rounded tw-border tw-border-solid tw-border-secondary-300 tw-bg-text-contrast tw-text-main"
|
|
>
|
|
<div class="tw-flex tw-flex-col tw-items-center tw-gap-2 tw-px-4 tw-pt-4 tw-text-center">
|
|
<ng-content *ngIf="hasIcon; else elseBlock" select="[bit-modal-icon]"></ng-content>
|
|
<ng-template #elseBlock>
|
|
<i class="bwi bwi-exclamation-triangle tw-text-3xl tw-text-warning" aria-hidden="true"></i>
|
|
</ng-template>
|
|
<h2 class="tw-mb-0 tw-text-base tw-font-semibold">
|
|
<ng-content select="[bit-modal-title]"></ng-content>
|
|
</h2>
|
|
</div>
|
|
<div class="tw-overflow-y-auto tw-px-4 tw-pt-2 tw-pb-4 tw-text-center tw-text-base">
|
|
<ng-content select="[bit-modal-content]"></ng-content>
|
|
</div>
|
|
<div class="tw-border-0 tw-border-t tw-border-solid tw-border-secondary-300 tw-p-4">
|
|
<ng-content select="[bit-modal-footer]"></ng-content>
|
|
</div>
|
|
</div>
|