mnelson4 / printmyblog

WordPress Plugin that simplifies printing your entire blog
GNU General Public License v3.0
16 stars 6 forks source link

Make wpcowichan demo book #172

Closed mnelson4 closed 3 years ago

mnelson4 commented 3 years ago
mnelson4 commented 3 years ago
mnelson4 commented 3 years ago

centering vertically isn't going very well. This CSS should work according to Prince documentation but it isn't:

.post-712 .post-inner{
height:100vh;
min-height:400px;
border:1px solid red;
position:relative;
}

.post-712 .post-content{
margin:0;
position: absolute;
top:50%;
left:50%;
transform: translate(-50%, -50%);
border: 1px dotted green;
}

the units vh seem to be ignored. Using mm instead works but then the page height is hard-coded. I'll leave this for now

mnelson4 commented 3 years ago

created #201