summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchylex <contact@chylex.com>2022-05-10 19:06:16 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2022-05-13 09:45:16 +0200
commit00cb4becf67c47cdfb3afa3af79d45178a2284a6 (patch)
treee78137157fea53f96f0522a5be1bc52917505cbd
parent129caf4ae189c3b9e4b701e815d9642d6034dadb (diff)
Improve styling of tables in articles
Signed-off-by: chylex <contact@chylex.com>
-rw-r--r--CHANGELOG.md1
-rw-r--r--css/content.css14
2 files changed, 15 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea0add23e..2ea38c643 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1
## [18.x.x]
### Changed
- Add routes for starring/unstarring items by id
+- Improve styling of tables in articles
### Fixed
- Fix updated api not returning any item after marking item as read (#1713)
diff --git a/css/content.css b/css/content.css
index cf6909336..f2dff8ee2 100644
--- a/css/content.css
+++ b/css/content.css
@@ -639,6 +639,20 @@
white-space: normal;
}
+#app-content .body table {
+ border-collapse: collapse;
+}
+
+#app-content .body table th {
+ font-weight: bold;
+}
+
+#app-content .body table th,
+#app-content .body table td {
+ border: 1px solid var(--color-text-lighter);
+ padding: 2px 6px;
+}
+
#app-content .body iframe {
max-width: 100%;
}