summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/pages/builds.scss6
-rw-r--r--changelogs/unreleased/57583-sticky-bar.yml5
2 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index 65f46e3852a..fa5a182243c 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -75,7 +75,11 @@
@include build-trace-top-bar(35px);
&.has-archived-block {
- top: $header-height + $performance-bar-height + 28px;
+ top: $header-height + 28px;
+
+ .with-performance-bar & {
+ top: $header-height + $performance-bar-height + 28px;
+ }
}
&.affix {
diff --git a/changelogs/unreleased/57583-sticky-bar.yml b/changelogs/unreleased/57583-sticky-bar.yml
new file mode 100644
index 00000000000..c592343a409
--- /dev/null
+++ b/changelogs/unreleased/57583-sticky-bar.yml
@@ -0,0 +1,5 @@
+---
+title: Fixes archived sticky top bar without perfomance bar
+merge_request:
+author:
+type: fixed