Skip to content

Commit ca2e2f8

Browse files
authored
fix: BROS-374: BROS-376: Fix hidden dropdowns in Preview (#8381)
Co-authored-by: hlomzik <[email protected]>
1 parent 238de83 commit ca2e2f8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

web/libs/editor/src/components/NewTaxonomy/NewTaxonomy.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
// increase specificity to override usual .ant-select-dropdown z-index
77
:global(.htx-taxonomy-dropdown.ant-select-dropdown) {
8-
// Create Project popup has 2000
9-
z-index: 3000;
8+
// Create Project popup has 2000 in LSE and 10000 in LSO
9+
z-index: 11000;
1010
}

web/libs/ui/src/lib/code-editor/code-editor.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@
111111
background-color: var(--color-neutral-background);
112112
border: 1px solid var(--color-neutral-border);
113113
box-shadow: 0 2px 4px rgba(var(--color-neutral-shadow-raw) / calc( 30% * var(--shadow-intensity))), 0 4px 16px rgba(var(--color-neutral-shadow-raw) / calc( 15% * var(--shadow-intensity)));
114-
z-index: 3000;
114+
115+
// Create Project modal has z-index: 10000, so we have to overrule it
116+
z-index: 11000;
115117
}
116118

117119
:global(.CodeMirror-hints .CodeMirror-hint) {

0 commit comments

Comments
 (0)