diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-02-19 16:09:38 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-02-19 16:18:40 +0300 |
commit | 91f12bc1088c3870d3ee39be5094e5ff3a51bf7a (patch) | |
tree | e5eaef601b02f0f98ebc0b038749fcebc6d5df16 /app/assets/stylesheets/pages/builds.scss | |
parent | 08e2104e0445877a056468d4675aa72af5ebb2ae (diff) |
Fixes the top position of job log topbar
The top bar of the job log was always expecting the
performance bar to be enabled. This commit adds CSS
to fix the top position for both scenarios.
Diffstat (limited to 'app/assets/stylesheets/pages/builds.scss')
-rw-r--r-- | app/assets/stylesheets/pages/builds.scss | 6 |
1 files changed, 5 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 { |