Fix vertical height bug

Introduced in @46dc55769e5f11bddde77ae131f0cb24f82fd9ea - vh is incompatible with % - all references to height needed to be updated in order for this to work correctly
This commit is contained in:
John O'Nolan 2015-03-01 08:51:38 +02:00
parent 8b35959ff6
commit e59dcaa256

View file

@ -869,7 +869,7 @@ body.nav-opened .menu-button .word {
.no-cover.main-header { .no-cover.main-header {
min-height: 160px; min-height: 160px;
max-height: 40%; max-height: 40vh;
background: #f5f8fa; background: #f5f8fa;
} }
@ -1392,7 +1392,7 @@ body:not(.post-template) .post-title {
/* On page2+ make all the headers smaller */ /* On page2+ make all the headers smaller */
.archive-template .main-header { .archive-template .main-header {
max-height: 30%; max-height: 30vh;
} }
/* On page2+ show extra pagination controls at the top of post list */ /* On page2+ show extra pagination controls at the top of post list */
@ -1456,7 +1456,7 @@ body:not(.post-template) .post-title {
box-sizing: border-box; box-sizing: border-box;
height: auto; height: auto;
min-height: 240px; min-height: 240px;
height: 60%; height: 60vh;
padding: 15% 0; padding: 15% 0;
} }
@ -1540,12 +1540,12 @@ body:not(.post-template) .post-title {
} }
.post-head.main-header { .post-head.main-header {
height:45%; height:45vh;
} }
.tag-head.main-header, .tag-head.main-header,
.author-head.main-header { .author-head.main-header {
height: 30%; height: 30vh;
} }
.no-cover.post-head.main-header { .no-cover.post-head.main-header {
@ -1568,15 +1568,15 @@ body:not(.post-template) .post-title {
.main-header { .main-header {
margin-bottom: 15px; margin-bottom: 15px;
height: 40%; height: 40vh;
} }
.no-cover.main-header { .no-cover.main-header {
height: 30%; height: 30vh;
} }
.archive-template .main-header { .archive-template .main-header {
max-height: 20%; max-height: 20vh;
min-height: 160px; min-height: 160px;
padding: 10% 0; padding: 10% 0;
} }
@ -1801,12 +1801,12 @@ body:not(.post-template) .post-title {
} }
.post-head.main-header { .post-head.main-header {
height: 30%; height: 30vh;
} }
.tag-head.main-header, .tag-head.main-header,
.author-head.main-header { .author-head.main-header {
height: 20%; height: 20vh;
} }
.author-profile .author-image { .author-profile .author-image {