Respect Android system bar insets with safe-area shell padding, inset-aware modal and bottom-sheet layouts, transparent edge-to-edge themes, and a Capacitor SystemBars refresh on mobile startup. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
544 B
HTML
21 lines
544 B
HTML
@if (dismissable()) {
|
|
<div
|
|
class="fixed metoyou-fixed-safe-viewport bg-black/60"
|
|
[class.backdrop-blur-sm]="blur()"
|
|
[style.z-index]="zIndex()"
|
|
(click)="dismiss()"
|
|
(keydown.enter)="dismiss()"
|
|
(keydown.space)="dismiss()"
|
|
role="button"
|
|
tabindex="0"
|
|
[attr.aria-label]="ariaLabel() || ('shared.dialog.close' | translate)"
|
|
></div>
|
|
} @else {
|
|
<div
|
|
class="fixed metoyou-fixed-safe-viewport bg-black/60"
|
|
[class.backdrop-blur-sm]="blur()"
|
|
[style.z-index]="zIndex()"
|
|
role="presentation"
|
|
></div>
|
|
}
|