0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 09:52:41 +00:00

Simplify split-table margins, .blank should have no margins before or after

This commit is contained in:
Trevor Buckner
2022-10-28 02:10:22 -04:00
parent 7958bb4cda
commit 27eb95ece8
2 changed files with 6 additions and 3 deletions

View File

@@ -241,9 +241,6 @@ body {
} }
} }
} }
div table:has(~table) { // Divs with side-by-side tables add an extra line
margin-bottom: -0.325cm; // of vertical space at bottom. This works around it.
}
//***************************** //*****************************
// * NOTE // * NOTE
// *****************************/ // *****************************/

View File

@@ -110,6 +110,9 @@ body {
font-weight : bold; font-weight : bold;
} }
} }
div:not(.columnWrapper) > table + table { // Side-by-side tables should not
margin-top : 0; // have vertical spacing.
}
/* Watermark */ /* Watermark */
.watermark { .watermark {
@@ -251,6 +254,9 @@ body {
.blank { .blank {
height : 1em; height : 1em;
margin-top : 0; margin-top : 0;
& + * {
margin-top : 0;
}
} }
} }