web - added padding to bottom of sidebar

also changed fixed-header z-index

concourse/concourse#3872

Signed-off-by: James Thomson <jthomson@pivotal.io>
This commit is contained in:
James Thomson 2019-06-20 16:44:12 -04:00 committed by Jamie Klassen
parent 1246cfad77
commit 29f0bd953c
3 changed files with 10 additions and 2 deletions

View File

@ -15,7 +15,6 @@ body,
@pagination-header-height: 64px;
@user-menu-z-index: 100;
@fixed-header-z-index: @user-menu-z-index - 1;
.content-frame {
display: flex;
@ -33,7 +32,7 @@ body,
.with-fixed-header {
.fixed-header {
z-index: @fixed-header-z-index;
z-index: 0;
background: @base01;
}

View File

@ -38,6 +38,7 @@ sideBar =
, style "flex-shrink" "0"
, style "padding-right" "10px"
, style "box-sizing" "border-box"
, style "padding-bottom" "10px"
]

View File

@ -234,6 +234,10 @@ hasSideBar iAmLookingAtThePage =
given iHaveAnOpenSideBar_
>> when iAmLookingAtTheSideBar
>> then_ iSeeItHasRightPadding
, test "sidebar has bottom padding" <|
given iHaveAnOpenSideBar_
>> when iAmLookingAtTheSideBar
>> then_ iSeeItHasBottomPadding
, test "toggles away" <|
given iHaveAnOpenSideBar_
>> given iClickedTheHamburgerIcon
@ -966,6 +970,10 @@ iSeeItHasRightPadding =
Query.has [ style "padding-right" "10px" ]
iSeeItHasBottomPadding =
Query.has [ style "padding-bottom" "10px" ]
iClickedThePipelineGroup =
Tuple.first
>> Application.update