Skip to content

Commit

Permalink
🐛 fix(header): augmente le z-index du header [DS-3661] (#830)
Browse files Browse the repository at this point in the history
- ajout d'un niveau d'élévation `raised-over`
- le header passe en z-index `raised-over` pour passer par dessus les cartes avec ombre
  • Loading branch information
keryanS authored Nov 28, 2023
1 parent 7464b83 commit 9b4c94b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions module/elevation/variable/_z-indexes.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$values: (
raised: 500,
raised-over: 750,
overlap: 1000,
overlap-over: 1250,
overlap-above: 1500,
Expand Down
4 changes: 2 additions & 2 deletions src/component/header/style/_scheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@mixin _header-scheme($legacy: false) {
#{ns(header)} {
&__brand {
@include elevation.elevate(raised, (legacy: $legacy));
@include elevation.elevate(raised-over, (legacy: $legacy));
}

&__service {
Expand All @@ -19,7 +19,7 @@
}

@include media-query.respond-from(lg) {
@include elevation.elevate(raised, (legacy: $legacy));
@include elevation.elevate(raised-over, (legacy: $legacy));

&__brand {
@include elevation.drop((legacy:$legacy));
Expand Down

0 comments on commit 9b4c94b

Please sign in to comment.