Skip to content

Commit 956c366

Browse files
committed
fix: js parameter hints not showing up
1 parent 5d90f25 commit 956c366

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/languageTools/styles/default_provider_style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ span.brackets-hints-with-type-details {
9494

9595
background: #fff;
9696
position: absolute;
97-
z-index: 15;
97+
z-index: var(--z-index-parameter-hints);
9898
left: 400px;
9999
top: 40px;
100100
height: auto;

src/styles/brackets_variables.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222

2323
/* Brackets Variables */
24+
:root {
25+
--z-index-parameter-hints: 19;
26+
}
2427

2528
/* All paddings, gutters, etc. should be multiples of this */
2629
@base-padding: 10px;
@@ -55,6 +58,7 @@
5558
@z-index-brackets-modalbar: (@z-index-brackets-toolbar - 1);
5659
@z-index-brackets-main-toolbar: (@z-index-brackets-toolbar + 1);
5760
@z-index-brackets-main-content: (@z-index-brackets-main-toolbar + 1);
61+
// --z-index-parameter-hints css variable here. we should ideally move all these to css variables
5862

5963
@z-index-brackets-sidebar-resizer: (@z-index-brackets-main-content + 3);
6064
@z-index-brackets-resizer-div: (@z-index-brackets-sidebar-resizer + 1);

0 commit comments

Comments
 (0)