From 00cb4becf67c47cdfb3afa3af79d45178a2284a6 Mon Sep 17 00:00:00 2001 From: chylex Date: Tue, 10 May 2022 19:06:16 +0200 Subject: [PATCH] Improve styling of tables in articles Signed-off-by: chylex --- CHANGELOG.md | 1 + css/content.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+) 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%; }