diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-23 02:01:28 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-23 02:01:28 +0300 |
commit | eb56b700ad901f581698dff90478461974fe00c2 (patch) | |
tree | 26785b0f1284b38689ab53d8206c5b110796dfb3 /app/assets/stylesheets/framework/nav.scss | |
parent | 25d779a321e1859e89c00a27e1f025c6f77ea2e4 (diff) |
genericise sidebar vertical offset css as it relates to the subnav
Diffstat (limited to 'app/assets/stylesheets/framework/nav.scss')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 205d23b1329..5ab505034b6 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -416,14 +416,16 @@ .page-with-layout-nav { .right-sidebar { - top: ($header-height * 2) + 2; + top: ($header-height + 1) * 2; } - .build-sidebar { - top: ($header-height * 3) + 3; + &.page-with-sub-nav { + .right-sidebar { + top: ($header-height + 1) * 3; - &.affix { - top: 0; + &.affix { + top: 0; + } } } } |