From 58382e90b4cf32c9186163d852c2a8d5810a0dc1 Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 10 Jul 2018 09:38:03 -0400 Subject: [PATCH] SAK-40294 Library: removed magic number from calculation --- library/src/morpheus-master/sass/base/_responsive.scss | 2 +- library/src/morpheus-master/sass/modules/_toolmenu.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/src/morpheus-master/sass/base/_responsive.scss b/library/src/morpheus-master/sass/base/_responsive.scss index 4de2900aaf6b..af91ad9442de 100644 --- a/library/src/morpheus-master/sass/base/_responsive.scss +++ b/library/src/morpheus-master/sass/base/_responsive.scss @@ -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; diff --git a/library/src/morpheus-master/sass/modules/_toolmenu.scss b/library/src/morpheus-master/sass/modules/_toolmenu.scss index 6b7687189bb6..b59349508744 100644 --- a/library/src/morpheus-master/sass/modules/_toolmenu.scss +++ b/library/src/morpheus-master/sass/modules/_toolmenu.scss @@ -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;