finally get profile page full-height while loading

This commit is contained in:
Lisa Passing 2015-02-12 15:07:02 +01:00
parent 7dac12cfea
commit adcc8b57f4
2 changed files with 8 additions and 10 deletions

View File

@ -2,7 +2,8 @@
.centered .row
max-width: 1024px
.main, .profile-view
.main,
.profile-view
position: relative
width: 100%
min-height: 100vh
@ -14,13 +15,10 @@
#not-found #main
padding: 100px 50px 0 50px
#left, #right
#left, #right, .wrapper-main
position: relative
min-height: 100%
#left
min-height: 100%
padding: 0 0 110px 0
background-color: #fbfbfa
border-right: 1px solid $color-border-normal
@ -52,6 +50,7 @@
// layout magic http://lea.verou.me/2011/01/styling-children-based-on-their-number-with-css3/
.wrapper-main
overflow: hidden
height: 100%
& > div:first-child:nth-last-child(2)
width: grid-calc(20, 24)
float: left
@ -63,7 +62,6 @@
.maximized
.wrapper-main
overflow: hidden
& > div:first-child:nth-last-child(2)
width: grid-calc(24, 24)
float: none
@ -72,6 +70,10 @@
display: none
@media #{$large-up}
#left, #right, .wrapper-main
min-height: 100vh
#left
width: grid-calc(5, 24)
float: left

View File

@ -72,10 +72,6 @@
#tab_new.display
display: inline-block
@media #{$medium-up}
.tab
min-height: 100vh
#main
.tabs
border-bottom: 3px solid #f5f5f6