Skip to content

Commit 384dc89

Browse files
authored
fix(docs): tiles z-index to not overlay the menu anymore (#1370)
* fix(docs): tiles z-index to not overlay the menu anymore * chore: two comments on possible todos
1 parent acca120 commit 384dc89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/docs/src/scss/components/_tile.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
.c-tile {
66
position: relative;
7-
z-index: 100;
87
height: 100%;
98
display: flex;
109
flex-direction: column;
@@ -13,7 +12,7 @@
1312
.c-tile__body {
1413
padding: 2rem;
1514
position: relative;
16-
z-index: 1;
15+
z-index: 1; // TODO: Evaluate whether this declaration is (still) necessary
1716
flex: 1;
1817

1918
.c-tile--green & {
@@ -38,7 +37,7 @@
3837
position: absolute;
3938
right: -10px;
4039
bottom: -10px;
41-
z-index: 0;
40+
z-index: 0; // TODO: Evaluate whether this declaration is (still) necessary
4241
@include stripedBoxShadow('green');
4342

4443
.c-tile--orange & {

0 commit comments

Comments
 (0)