1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[PM-15975] Prevent dialogs from overlapping interactive top menu bars (#13251)

This commit is contained in:
Vicki League
2025-02-06 13:33:07 -05:00
committed by GitHub
parent 0b5b1b347e
commit b9faf2c9c0
3 changed files with 2 additions and 14 deletions

View File

@@ -63,7 +63,8 @@ export class DialogComponent {
@Input() loading = false;
@HostBinding("class") get classes() {
return ["tw-flex", "tw-flex-col", "tw-max-h-screen", "tw-w-screen", "tw-p-4"].concat(
// `tw-max-h-[90vh]` is needed to prevent dialogs from overlapping the desktop header
return ["tw-flex", "tw-flex-col", "tw-w-screen", "tw-p-4", "tw-max-h-[90vh]"].concat(
this.width,
);
}