From 0bf4242324478123a975ab5997763c29665021dc Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 14 Jan 2020 17:51:27 -0500 Subject: [PATCH] Adding border lines and spacing on markdown tables. - Fixes #413 --- ui/assets/css/main.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index e8477910..20b669b8 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -40,6 +40,30 @@ font-size:1.171875rem; } +.md-div table { + border-collapse: collapse; + width: 100%; + margin-bottom: 1rem; + border: 1px solid var(--dark); +} + +.md-div table th, +.md-div table td { + padding: 0.3rem; + vertical-align: top; + border-top: 1px solid var(--dark); + border: 1px solid var(--dark); +} + +.md-div table thead th { + vertical-align: bottom; + border-bottom: 2px solid var(--dark); +} + +.md-div table tbody + tbody { + border-top: 2px solid var(--dark); +} + .comment-node { margin-bottom: 10px; } -- 2.44.1