From 6a7ceee75fc8124630fccd3fb474bbbc4ad030d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 9 Nov 2018 16:47:41 +0100 Subject: [PATCH] Fix table rendering in markdown (fixes #363) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/style.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/css/style.scss b/css/style.scss index 85d020d71..c74d4f1bb 100644 --- a/css/style.scss +++ b/css/style.scss @@ -1518,6 +1518,19 @@ input.input-inline { li input[type="checkbox"].checkbox:not(:checked) + label::before { background-color: $color-main-background; } + + table { + margin-bottom: 10px; + border-collapse: collapse; + + thead { + background-color: var(--color-background-dark, $color-lightgrey); + } + td, th { + border: 1px solid var(--color-background-darker, $color-darkgrey); + padding: 3px; + } + } } .section-wrapper {