diff --git a/LesionTracker/client/components/viewerSection/viewerSection.styl b/LesionTracker/client/components/viewerSection/viewerSection.styl index a7a5e2783..614f58e0a 100644 --- a/LesionTracker/client/components/viewerSection/viewerSection.styl +++ b/LesionTracker/client/components/viewerSection/viewerSection.styl @@ -1,11 +1,11 @@ -@import "{ohif:design}/app" +@require '{ohif:design}/app' .viewerSection display: flex flex: 1 flex-flow: row nowrap align-items: stretch - height: 'calc(100% - %s)' % ($toolbarHeight + $topBarHeight) + height: 'calc(100vh - %s)' % ($toolbarHeight + $topBarHeight) width: 100% .sidebarMenu @@ -38,11 +38,11 @@ .mainContent flex: 1 - order: 2 - width: 100% height: 100% + order: 2 overflow: hidden transition($sidebarTransition) + width: 100% .sidebar-right flex: 1 diff --git a/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl b/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl index 6d4c0c22b..72606ba64 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(100% - %s)' % ($toolbarHeight + $topBarHeight) + height: 'calc(100vh - %s)' % ($toolbarHeight + $topBarHeight) width: 100% .sidebarMenu @@ -38,11 +38,11 @@ $lesionsSidebarMenuWidth = 450px .mainContent flex: 1 - order: 2 - width: 100% height: 100% + order: 2 overflow: hidden transition($sidebarTransition) + width: 100% .sidebar-right flex: 1 diff --git a/Packages/ohif-viewerbase/client/components/viewer/gridLayout/gridLayout.styl b/Packages/ohif-viewerbase/client/components/viewer/gridLayout/gridLayout.styl index 51861f1c4..535f181fb 100644 --- a/Packages/ohif-viewerbase/client/components/viewer/gridLayout/gridLayout.styl +++ b/Packages/ohif-viewerbase/client/components/viewer/gridLayout/gridLayout.styl @@ -7,14 +7,16 @@ padding-right: 12px .mainContent + theme('background-color', '$primaryBackgroundColor') + &.sidebar-right-open #imageViewerViewports padding-right: 7px - + &.sidebar-left-open:not(.sidebar-right-open) #imageViewerViewports padding-right: 13px - + &.sidebar-left-open.sidebar-right-open #imageViewerViewports - padding-right: 8px \ No newline at end of file + padding-right: 8px diff --git a/Packages/ohif-viewerbase/client/components/viewer/studyTimepointBrowser/studyTimepointBrowser.html b/Packages/ohif-viewerbase/client/components/viewer/studyTimepointBrowser/studyTimepointBrowser.html index 15ae3a030..55b0cbcb1 100644 --- a/Packages/ohif-viewerbase/client/components/viewer/studyTimepointBrowser/studyTimepointBrowser.html +++ b/Packages/ohif-viewerbase/client/components/viewer/studyTimepointBrowser/studyTimepointBrowser.html @@ -5,7 +5,7 @@ {{>roundedButtonGroup viewTypeButtonGroupData}}