Skip to content

Commit

Permalink
fix(VBanner): set index when using sticky prop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed May 30, 2024
1 parent 99279d9 commit 9e2d22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VBanner/VBanner.sass
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@

&--sticky
top: $banner-sticky-top
z-index: $banner-sticky-z-index

.v-banner__content
align-items: center
Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VBanner/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $banner-prepend-margin-end: 24px !default;
$banner-rounded-border-radius: settings.$border-radius-root !default;
$banner-stacked-padding-inline-end: 36px !default;
$banner-sticky-top: 0 !default;
$banner-sticky-z-index: 1 !default;
$banner-text-padding-end: 90px !default;
$banner-width: 100% !default;

Expand Down

0 comments on commit 9e2d22f

Please sign in to comment.