0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 12:52:38 +00:00

Note blocks now don't overlap titles

This commit is contained in:
Scott Tolksdorf
2016-08-20 13:33:15 -04:00
parent b134e11a86
commit 78426135c6
3 changed files with 9 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
- Added in a new coverpage snippet - Added in a new coverpage snippet
- Homebrewery will now try and onsert a good title for your brew if you don't provide one - Homebrewery will now try and onsert a good title for your brew if you don't provide one
- Homebrewery now re-renders properly when you zoom - Homebrewery now re-renders properly when you zoom
- Fixed the noteblock overlapping into titles (thanks u/dsompura!)
### Friday, 29/07/2016 - v2.2.7 ### Friday, 29/07/2016 - v2.2.7

View File

@@ -195,8 +195,8 @@ body {
} }
} }
//If a note starts a column, give it space at the top to render border //If a note starts a column, give it space at the top to render border
pre+blockquote{ pre+blockquote, h2+blockquote, h3+blockquote, h4+blockquote, h5+blockquote {
margin-top : 11px; margin-top : 13px;
} }
//***************************** //*****************************
// * MONSTER STAT BLOCK // * MONSTER STAT BLOCK

View File

@@ -375,8 +375,12 @@ body {
font-size: 0.352cm; font-size: 0.352cm;
line-height: 1.1em; line-height: 1.1em;
} }
.phb pre + blockquote { .phb pre + blockquote,
margin-top: 11px; .phb h2 + blockquote,
.phb h3 + blockquote,
.phb h4 + blockquote,
.phb h5 + blockquote {
margin-top: 13px;
} }
.phb hr + blockquote { .phb hr + blockquote {
position: relative; position: relative;