aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-08-20 15:29:06 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-08-20 15:29:06 +0200
commit688a652304275d2e4fe4a4be4c0c3d8d640f1138 (patch)
treef46a72afbeebd5961a6115966a587b7aaeb3a9bb /internal
parentc455e58af0da900ac8b259cef7496490d487afd1 (diff)
downloadgofu-688a652304275d2e4fe4a4be4c0c3d8d640f1138.tar.gz
mdedit: fix styling of Markdown tables in preview pane
Diffstat (limited to 'internal')
-rw-r--r--internal/mdedit/res/style.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/mdedit/res/style.css b/internal/mdedit/res/style.css
index 01cd0c2..6083b75 100644
--- a/internal/mdedit/res/style.css
+++ b/internal/mdedit/res/style.css
@@ -45,4 +45,7 @@ div#preview {
overflow: scroll;
height: 100%;
+
+ & table { border-collapse: collapse; }
+ & td, & th { border: 1px solid black; padding: 0.25rem; }
}