0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +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
// *****************************/

View File

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