1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-19 15:57:42 +01:00

[PM-12776] Draggable Items within a dialog (#11396)

* increase z-index `cdk-drag-preview` so it displays on top of modals/dialogs when draggable elements are within them

* update comment overlay z-index and add ticket number

* update comment
This commit is contained in:
Nick Krantz 2024-10-09 12:05:31 -05:00 committed by GitHub
parent 35ff7d49b3
commit e2275ad0bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,10 +222,11 @@ summary.tw-list-none::-webkit-details-marker {
} }
/** /**
* Bootstrap uses z-index: 1050 for modals, dialogs should appear above them. * Bootstrap uses z-index: 1050 for modals, dialogs and drag-and-drop previews should appear above them.
* Remove once bootstrap is removed from our codebase. * When bootstrap is removed, test if these styles are still needed and that overlays display properly over other content.
* CL-XYZ * CL-483
*/ */
.cdk-drag-preview,
.cdk-overlay-container, .cdk-overlay-container,
.cdk-global-overlay-wrapper, .cdk-global-overlay-wrapper,
.cdk-overlay-connected-position-bounding-box, .cdk-overlay-connected-position-bounding-box,