Skip to content

Commit 9e2d22f

Browse files
committed
fix(VBanner): set index when using sticky prop
1 parent 99279d9 commit 9e2d22f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/vuetify/src/components/VBanner/VBanner.sass

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666

6767
&--sticky
6868
top: $banner-sticky-top
69+
z-index: $banner-sticky-z-index
6970

7071
.v-banner__content
7172
align-items: center

packages/vuetify/src/components/VBanner/_variables.scss

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $banner-prepend-margin-end: 24px !default;
2424
$banner-rounded-border-radius: settings.$border-radius-root !default;
2525
$banner-stacked-padding-inline-end: 36px !default;
2626
$banner-sticky-top: 0 !default;
27+
$banner-sticky-z-index: 1 !default;
2728
$banner-text-padding-end: 90px !default;
2829
$banner-width: 100% !default;
2930

0 commit comments

Comments
 (0)