[PM-4906] Allow bitmenu to overflow and scroll when needed (#6941)

add `tw-overflow-y-auto` to bit-menu which will automatically add a scrollbar when needed
This commit is contained in:
Mathijs van Veluw 2024-01-05 16:41:30 +01:00 committed by GitHub
parent 90877cbdde
commit 06adde65e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<ng-template> <ng-template>
<div <div
(click)="closed.emit()" (click)="closed.emit()"
class="tw-flex tw-shrink-0 tw-flex-col tw-rounded tw-border tw-border-solid tw-border-secondary-500 tw-bg-background tw-bg-clip-padding tw-py-2" class="tw-flex tw-shrink-0 tw-flex-col tw-rounded tw-border tw-border-solid tw-border-secondary-500 tw-bg-background tw-bg-clip-padding tw-py-2 tw-overflow-y-auto"
[attr.role]="ariaRole" [attr.role]="ariaRole"
[attr.aria-label]="ariaLabel" [attr.aria-label]="ariaLabel"
cdkTrapFocus cdkTrapFocus