From 27eb95ece8cbf70ff2dbaa5806a85845af3b1902 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Fri, 28 Oct 2022 02:10:22 -0400 Subject: [PATCH] Simplify split-table margins, .blank should have no margins before or after --- themes/V3/5ePHB/style.less | 3 --- themes/V3/Blank/style.less | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 52846047a..09f0dc790 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -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 // *****************************/ diff --git a/themes/V3/Blank/style.less b/themes/V3/Blank/style.less index 5a3a9505a..1c7672842 100644 --- a/themes/V3/Blank/style.less +++ b/themes/V3/Blank/style.less @@ -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; + } } }