From 6a17bad96eb126f7390bb4c4a4dce21ae505adf5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 11 Mar 2014 08:29:11 +0000 Subject: [PATCH] Add margin on code blocks and tables --- themes/tiddlywiki/vanilla/base.tid | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index cce13ebc6..2a7f19150 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -38,7 +38,8 @@ h1, h2, h3, h4, h5, h6 { pre { display: block; padding: 14px; - margin: 0 0 14px; + margin-top: 1em; + margin-bottom: 1em; word-break: normal; word-wrap: break-word; white-space: pre; @@ -84,6 +85,8 @@ table { width: auto; max-width: 100%; caption-side: bottom; + margin-top: 1em; + margin-bottom: 1em; } table th, table td {