Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(panel): fix placement of panel with fixed navbar
Browse files Browse the repository at this point in the history
Update the placement of the slideout panel to account for the fixed navbar. Also adjusts errors in the Less conversion from `em` to `px` when calculated in the browser (this caused placement issues).

fixes openshiftio/openshift.io#1180
  • Loading branch information
Adam Jolicoeur authored and joshuawilson committed Nov 8, 2017
1 parent cc0f455 commit 329b329
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/slide-out-panel/slide-out-panel.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
.detail-panel {
position: fixed;
left: auto;
top: em(34);
top: 81px;
right: 0;
bottom: 0;
width: 50%;
min-width: em(250);
padding: em(20) 0 em(20) em(10);
min-width: 250px;
border-left: 1px solid;
border-left-color: darken(@color-pf-white, 20%);
background-color: @color-pf-white;
Expand Down

0 comments on commit 329b329

Please sign in to comment.