Commit afc723b0 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '32063-fix-flash-notification-top' into 'master'

Only sticky flash notifications should have top value

Closes #32063

See merge request gitlab-org/gitlab!16866
parents 5ec7b744 6a49b4aa
...@@ -131,16 +131,16 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25); ...@@ -131,16 +131,16 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25);
} }
} }
.with-system-header .flash-container { .with-system-header .flash-container.sticky {
top: $flash-container-top + $system-header-height; top: $flash-container-top + $system-header-height;
} }
.with-performance-bar { .with-performance-bar {
.flash-container { .flash-container.sticky {
top: $flash-container-top + $performance-bar-height; top: $flash-container-top + $performance-bar-height;
} }
&.with-system-header .flash-container { &.with-system-header .flash-container.sticky {
top: $flash-container-top + $performance-bar-height + $system-header-height; top: $flash-container-top + $performance-bar-height + $system-header-height;
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment