From db974d4fd46a4b15dcc7add7c107170bda5d783a Mon Sep 17 00:00:00 2001 From: jlmitch5 Date: Tue, 16 Jan 2018 14:22:08 -0500 Subject: [PATCH] update css so that scroll bar doesn't take padding from main content area --- awx/ui/client/lib/components/layout/_index.less | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/awx/ui/client/lib/components/layout/_index.less b/awx/ui/client/lib/components/layout/_index.less index 03e9c4bb2b..91b3c4f844 100644 --- a/awx/ui/client/lib/components/layout/_index.less +++ b/awx/ui/client/lib/components/layout/_index.less @@ -2,13 +2,14 @@ height: 100vh; width: 100vw; display: flex; + overflow: hidden; &-topNav { display: flex; background-color: @at-color-top-nav-background; border-bottom: @at-border-default-width solid @at-color-top-nav-border-bottom; z-index: @at-z-index-nav; - position: fixed; + position: relative; right: 0; left: 0; top: 0; @@ -136,10 +137,6 @@ align-items: center; padding-right: @at-padding-between-side-nav-icon-text; } - - + .at-Layout-main { - padding-left: @at-width-expanded-side-nav; - } } } @@ -148,7 +145,6 @@ height: 100%; width: 100%; flex-direction: column; - padding-left: @at-width-collapsed-side-nav; overflow-x: hidden; }