-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase ConfirmDialog overlay's z-index to render above popovers (#3…
…7959) * increase ConfirmDialog overlay's z-index to render above popovers * Update packages/components/src/confirm-dialog/styles.ts Co-authored-by: Marco Ciampini <[email protected]> * update CHANGELOG Co-authored-by: Marco Ciampini <[email protected]>
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* External dependencies | ||
*/ | ||
import { css } from '@emotion/react'; | ||
|
||
/** | ||
* The z-index for ConfirmDialog is being set here instead of in | ||
* packages/base-styles/_z-index.scss, because this component uses | ||
* emotion instead of sass. | ||
* | ||
* ConfirmDialog needs this higher z-index to ensure it renders on top of | ||
* any parent Popover component. | ||
*/ | ||
export const wrapper = css` | ||
&& { | ||
z-index: 1000001; | ||
} | ||
`; |