Fix viewport height on iOS (#164)

This commit is contained in:
Erik Ziegler 2018-07-10 11:29:38 +02:00
parent 429dd7844e
commit 349f591764
5 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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))

View File

@ -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%

View File

@ -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