finally get profile page full-height while loading
This commit is contained in:
parent
10da41b29e
commit
d2305baa60
|
@ -2,7 +2,8 @@
|
||||||
.centered .row
|
.centered .row
|
||||||
max-width: 1024px
|
max-width: 1024px
|
||||||
|
|
||||||
.main, .profile-view
|
.main,
|
||||||
|
.profile-view
|
||||||
position: relative
|
position: relative
|
||||||
width: 100%
|
width: 100%
|
||||||
min-height: 100vh
|
min-height: 100vh
|
||||||
|
@ -14,13 +15,10 @@
|
||||||
#not-found #main
|
#not-found #main
|
||||||
padding: 100px 50px 0 50px
|
padding: 100px 50px 0 50px
|
||||||
|
|
||||||
|
#left, #right, .wrapper-main
|
||||||
#left, #right
|
|
||||||
position: relative
|
position: relative
|
||||||
min-height: 100%
|
|
||||||
|
|
||||||
#left
|
#left
|
||||||
min-height: 100%
|
|
||||||
padding: 0 0 110px 0
|
padding: 0 0 110px 0
|
||||||
background-color: #fbfbfa
|
background-color: #fbfbfa
|
||||||
border-right: 1px solid $color-border-normal
|
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/
|
// layout magic http://lea.verou.me/2011/01/styling-children-based-on-their-number-with-css3/
|
||||||
.wrapper-main
|
.wrapper-main
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
|
height: 100%
|
||||||
& > div:first-child:nth-last-child(2)
|
& > div:first-child:nth-last-child(2)
|
||||||
width: grid-calc(20, 24)
|
width: grid-calc(20, 24)
|
||||||
float: left
|
float: left
|
||||||
|
@ -63,7 +62,6 @@
|
||||||
|
|
||||||
.maximized
|
.maximized
|
||||||
.wrapper-main
|
.wrapper-main
|
||||||
overflow: hidden
|
|
||||||
& > div:first-child:nth-last-child(2)
|
& > div:first-child:nth-last-child(2)
|
||||||
width: grid-calc(24, 24)
|
width: grid-calc(24, 24)
|
||||||
float: none
|
float: none
|
||||||
|
@ -72,6 +70,10 @@
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
@media #{$large-up}
|
@media #{$large-up}
|
||||||
|
|
||||||
|
#left, #right, .wrapper-main
|
||||||
|
min-height: 100vh
|
||||||
|
|
||||||
#left
|
#left
|
||||||
width: grid-calc(5, 24)
|
width: grid-calc(5, 24)
|
||||||
float: left
|
float: left
|
||||||
|
|
|
@ -72,10 +72,6 @@
|
||||||
#tab_new.display
|
#tab_new.display
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
|
||||||
@media #{$medium-up}
|
|
||||||
.tab
|
|
||||||
min-height: 100vh
|
|
||||||
|
|
||||||
#main
|
#main
|
||||||
.tabs
|
.tabs
|
||||||
border-bottom: 3px solid #f5f5f6
|
border-bottom: 3px solid #f5f5f6
|
||||||
|
|
Loading…
Reference in New Issue
Block a user