Skip to content

Commit 0287dea

Browse files
committed
Move z-index values to own z-indices file
1 parent 4cc3ff7 commit 0287dea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

airbyte-webapp/src/components/ToolTip/ToolTip.module.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@use "../../scss/colors";
22
@use "../../scss/variables";
3+
@use "../../scss/z-indices";
34

45
.container {
56
display: inline;
@@ -13,7 +14,7 @@
1314
padding: variables.$spacing-md;
1415
border-radius: 5px;
1516
max-width: 300px;
16-
z-index: variables.$z-tooltip;
17+
z-index: z-indices.$tooltip;
1718
box-shadow: 0px 2px 4px rgba(colors.$dark-blue, 0.12);
1819
background: rgba(colors.$dark-blue, 0.9);
1920
color: colors.$white;

airbyte-webapp/src/scss/_variables.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,3 @@ $width-modal-sm: 492px;
2222
$width-modal-md: 585px;
2323
$width-modal-lg: 940px;
2424
$width-modal-xl: 1008px;
25-
26-
$z-sidebar: 9999;
27-
$z-tooltip: $z-sidebar + 1;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
$sidebar: 9999;
2+
$tooltip: 9999 + 1;

0 commit comments

Comments
 (0)