Skip to content

Commit

Permalink
Ensure overlapping popovers from block editor are rendered above oth…
Browse files Browse the repository at this point in the history
…er interfaces' elements (directus#21522)
  • Loading branch information
paescuj committed Feb 22, 2024
1 parent 4727763 commit 20a13d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-plants-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@directus/app': patch
---

Ensured overlapping popovers from block editor are rendered above other interfaces' elements
3 changes: 3 additions & 0 deletions app/src/interfaces/input-block-editor/editorjs-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
--bg-color: var(--theme--background-normal) !important;
--front-color: var(--theme--form--field--input--foreground) !important;
--border-color: var(--theme--form--field--input--border-color) !important;

/* To ensure overlapping popovers are rendered above other interfaces' elements (Map / WYSIWYG) */
z-index: 3;
}

.codex-editor ::selection {
Expand Down

0 comments on commit 20a13d8

Please sign in to comment.