Skip to content

Commit

Permalink
Merge pull request #17085 from ckeditor/builder/dropdown-menu-panel-s…
Browse files Browse the repository at this point in the history
…pecificity

Fix (ui,theme-lark): Increased the specificity of the dropdown menu panel styles to address issues with incorrect `z-index` ordering.
  • Loading branch information
oleq authored Sep 17, 2024
2 parents 2b74a8a + beaa56f commit 3df198a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--ck-dropdown-menu-menu-panel-max-width: 75vw;
}

.ck.ck-dropdown-menu__nested-menu__panel {
.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel {
@mixin ck-drop-shadow;

background: var(--ck-color-dropdown-panel-background);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

.ck.ck-dropdown-menu__nested-menu__panel {
.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel {
position: absolute;
max-height: 314px; /* With the default settings, this is equal to 10 menu items. */
overflow-y: auto;
Expand Down

0 comments on commit 3df198a

Please sign in to comment.