diff --git a/LesionTracker/client/components/viewerSection/viewerSection.styl b/LesionTracker/client/components/viewerSection/viewerSection.styl index 64d3836fb..21e29f3a3 100644 --- a/LesionTracker/client/components/viewerSection/viewerSection.styl +++ b/LesionTracker/client/components/viewerSection/viewerSection.styl @@ -5,7 +5,7 @@ flex: 1 flex-flow: row nowrap align-items: stretch - height: 'calc(100vh - %s)' % ($toolbarHeight + $topBarHeight) + height: 'calc(100% - %s)' % ($toolbarHeight + $topBarHeight) width: 100% .sidebarMenu diff --git a/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl b/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl index 5de1933c6..cedaa7cd4 100644 --- a/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl +++ b/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl @@ -7,7 +7,7 @@ $lesionsSidebarMenuWidth = 450px flex: 1 flex-flow: row nowrap align-items: stretch - height: 'calc(100vh - %s)' % ($toolbarHeight + $topBarHeight) + height: 'calc(100% - %s)' % ($toolbarHeight + $topBarHeight) width: 100% .sidebarMenu diff --git a/Packages/ohif-viewerbase/client/components/viewer/seriesQuickSwitch/seriesQuickSwitch.styl b/Packages/ohif-viewerbase/client/components/viewer/seriesQuickSwitch/seriesQuickSwitch.styl index ad3c30719..35673b965 100644 --- a/Packages/ohif-viewerbase/client/components/viewer/seriesQuickSwitch/seriesQuickSwitch.styl +++ b/Packages/ohif-viewerbase/client/components/viewer/seriesQuickSwitch/seriesQuickSwitch.styl @@ -78,7 +78,7 @@ .study-browser left: 0 margin-top: 100px - max-height: calc(100vh - 100px) + max-height: calc(100% - 100px) transform-origin(1em calc(1em + 17px)) width: 300px @@ -86,7 +86,7 @@ padding: 0 10px .series-browser - max-height: 100vh + max-height: 100% max-width: 720px right: 0 transform-origin(calc(100% - 1em) calc(1em + 15px)) diff --git a/Packages/ohif-viewerbase/client/components/viewer/viewerMain/viewerMain.styl b/Packages/ohif-viewerbase/client/components/viewer/viewerMain/viewerMain.styl index a0a0c042e..d0516b87c 100644 --- a/Packages/ohif-viewerbase/client/components/viewer/viewerMain/viewerMain.styl +++ b/Packages/ohif-viewerbase/client/components/viewer/viewerMain/viewerMain.styl @@ -7,7 +7,7 @@ theme('color', '$textSecondaryColor') font-size: 30px height: 100% - line-height: "calc(100vh - %s)" % $topBarHeight + line-height: "calc(100% - %s)" % $topBarHeight .viewerMain width: 100% diff --git a/StandaloneViewer/StandaloneViewer/client/components/flexboxLayout/flexboxLayout.styl b/StandaloneViewer/StandaloneViewer/client/components/flexboxLayout/flexboxLayout.styl index 5de1933c6..cedaa7cd4 100644 --- a/StandaloneViewer/StandaloneViewer/client/components/flexboxLayout/flexboxLayout.styl +++ b/StandaloneViewer/StandaloneViewer/client/components/flexboxLayout/flexboxLayout.styl @@ -7,7 +7,7 @@ $lesionsSidebarMenuWidth = 450px flex: 1 flex-flow: row nowrap align-items: stretch - height: 'calc(100vh - %s)' % ($toolbarHeight + $topBarHeight) + height: 'calc(100% - %s)' % ($toolbarHeight + $topBarHeight) width: 100% .sidebarMenu