From e1e0072eea68ff135846392dd0c390de56967003 Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Sat, 11 Oct 2025 18:54:54 +0530 Subject: [PATCH] Remove table header background styling (v1.7.6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed custom background colors from table headers to improve preview appearance and maintain consistency with normal theming. ## Changes - Removed background-color from default theme table headers (was #f6f8fa) - Removed dark theme table header background styling block - Headers retain font-weight: 600 for visual distinction - Table borders and alternating row colors remain intact ## User Request User feedback: "remove the theming of table headers, it looks bad. Keep normal theming of preview" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- package.json | 2 +- src/styles.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 38d2093..fe6bcc6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pan-converter", - "version": "1.7.5", + "version": "1.7.6", "description": "Cross-platform Markdown editor and converter using Pandoc", "main": "src/main.js", "scripts": { diff --git a/src/styles.css b/src/styles.css index 8adbf40..b240f54 100644 --- a/src/styles.css +++ b/src/styles.css @@ -326,7 +326,6 @@ body { #preview table th, .preview-content table th { font-weight: 600; - background-color: #f6f8fa; } #preview table tr:nth-child(2n), .preview-content table tr:nth-child(2n) { @@ -449,9 +448,6 @@ body.theme-dark .preview-content table th, body.theme-dark .preview-content tabl border-color: #3e3e42; } -body.theme-dark #preview table th, body.theme-dark .preview-content table th { - background-color: #2d2d30; -} body.theme-dark #preview table tr:nth-child(2n), body.theme-dark .preview-content table tr:nth-child(2n) { background-color: #2d2d30;