From e6cb4e873a1feadf8ba2bdcc60b961b81e4b4997 Mon Sep 17 00:00:00 2001 From: Bruno Alves de Faria Date: Fri, 9 Sep 2016 17:09:38 -0300 Subject: [PATCH] LT-67: Fixing styling issues --- .../client/components/flexboxLayout/flexboxLayout.styl | 4 ++-- .../components/additionalFindings/additionalFindings.styl | 3 --- .../client/components/flexboxLayout/flexboxLayout.styl | 6 +++--- .../studyTimepointBrowser/studyTimepointStudy.styl | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl b/OHIFViewer/client/components/flexboxLayout/flexboxLayout.styl index bc608d9b9..8dc455677 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; + height: calc(100% - $toolbarHeight); width: 100% .sidebarMenu @@ -46,7 +46,7 @@ $lesionsSidebarMenuWidth = 450px .sidebar-right flex: 1 - margin-left: -6px + margin-left: -12px margin-right: - $lesionsSidebarMenuWidth max-width: $lesionsSidebarMenuWidth order: 3 diff --git a/Packages/lesiontracker/client/components/additionalFindings/additionalFindings.styl b/Packages/lesiontracker/client/components/additionalFindings/additionalFindings.styl index d1bb55b7b..bf6a4e8a1 100644 --- a/Packages/lesiontracker/client/components/additionalFindings/additionalFindings.styl +++ b/Packages/lesiontracker/client/components/additionalFindings/additionalFindings.styl @@ -56,9 +56,6 @@ margin-left: 3px margin-top: 5px - .select2-selection--single - width: 91px - .group-radio height: 30px margin-bottom: 15px diff --git a/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.styl b/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.styl index 70b178a6a..7b59a1805 100644 --- a/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.styl +++ b/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.styl @@ -26,10 +26,10 @@ .sidebar-left theme('border-right', '%s solid $uiBorderColor' % $uiBorderThickness) - max-width: $studiesSidebarMenuWidth - order: 1 flex: 1 margin-left: - $studiesSidebarMenuWidth + max-width: $studiesSidebarMenuWidth + order: 1 &.sidebar-open margin-left: 0 @@ -44,7 +44,7 @@ .sidebar-right flex: 1 - margin-left: -6px + margin-left: -12px margin-right: - $lesionsSidebarMenuWidth max-width: $lesionsSidebarMenuWidth order: 3 diff --git a/Packages/lesiontracker/client/components/studyTimepointBrowser/studyTimepointStudy.styl b/Packages/lesiontracker/client/components/studyTimepointBrowser/studyTimepointStudy.styl index e1d31d584..cc1d068f8 100644 --- a/Packages/lesiontracker/client/components/studyTimepointBrowser/studyTimepointStudy.styl +++ b/Packages/lesiontracker/client/components/studyTimepointBrowser/studyTimepointStudy.styl @@ -107,7 +107,7 @@ $spacerY = 12px & &:before &:after - theme('border', '$borderThickness solid $primaryBackgroundColor') + theme('border', '%s solid $primaryBackgroundColor' % $borderThickness) theme('background-color', '$boxBackgroundColor') border-radius: $boxBorderRadius height: $boxWidth + ($borderThickness * 2)