Skip to content

Commit

Permalink
SAK-40294 Library: removed magic number from calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
fostersdesign authored and jonespm committed Jul 10, 2018
1 parent 66d782e commit 58382e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/src/morpheus-master/sass/base/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ body {
.phone, .tablet, .desktop {
display: none;

height: 1px;
height: 0; // removed in SAK-40294 because it caused an extra pixel of unnecessary page height
width: 1px;
overflow: hidden;
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion library/src/morpheus-master/sass/modules/_toolmenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ body.is-logged-out{
min-width: $tool-menu-width;
width: $tool-menu-width;
min-height: 100vh; // alternative for browswers who cannot do calculations
min-height: calc(100vh - (#{$banner-height} * 2) - 1px); // viewport minus the two top banners; "- 1px" for extra pixel somewhere
min-height: calc(100vh - (#{$banner-height} * 2)); // viewport minus the two top banners
@include flex-basis( $tool-menu-width );
padding: 5px 0 0 0;
text-align: center;
Expand Down

0 comments on commit 58382e9

Please sign in to comment.