Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): tiles z-index to not overlay the menu anymore #1370

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/docs/src/scss/components/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

.c-tile {
position: relative;
z-index: 100;
height: 100%;
display: flex;
flex-direction: column;
Expand All @@ -13,7 +12,7 @@
.c-tile__body {
padding: 2rem;
position: relative;
z-index: 1;
z-index: 1; // TODO: Evaluate whether this declaration is (still) necessary
JosefBredereck marked this conversation as resolved.
Show resolved Hide resolved
flex: 1;

.c-tile--green & {
Expand All @@ -38,7 +37,7 @@
position: absolute;
right: -10px;
bottom: -10px;
z-index: 0;
z-index: 0; // TODO: Evaluate whether this declaration is (still) necessary
@include stripedBoxShadow('green');

.c-tile--orange & {
Expand Down