Skip to content

Commit ab4fd11

Browse files
Kyome22claude
andcommitted
Fix silent table th inheriting background/font-weight from .lbs-table th
Silent tables have both lbs-table and lbs-table-silent classes, so .lbs-table th { background; font-weight: 600 } was leaking into <th> cells of silent tables. Add background: none and font-weight: normal to .lbs-table-silent th,td in all CSS files (style.css + 4 themes). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 04a2911 commit ab4fd11

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
/* Silent table — used as a layout grid */
6969
.lbs-table-silent { table-layout: fixed; width: 100%; }
7070
.lbs-table-silent th,
71-
.lbs-table-silent td { border: none; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
71+
.lbs-table-silent td { border: none; background: none; font-weight: normal; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
7272
.lbs-table-silent th:last-child,
7373
.lbs-table-silent td:last-child { padding-right: 0; }
7474

docs/themes/engineer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ body { background: var(--lbs-bg); }
7575
/* Silent table */
7676
.lbs-table-silent { table-layout: fixed; width: 100%; }
7777
.lbs-table-silent th,
78-
.lbs-table-silent td { border: none; background: none; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
78+
.lbs-table-silent td { border: none; background: none; font-weight: normal; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
7979
.lbs-table-silent th:last-child,
8080
.lbs-table-silent td:last-child { padding-right: 0; }
8181

docs/themes/formal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ body { background: var(--lbs-bg); }
7575
/* Silent table */
7676
.lbs-table-silent { table-layout: fixed; width: 100%; }
7777
.lbs-table-silent th,
78-
.lbs-table-silent td { border: none; background: none; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
78+
.lbs-table-silent td { border: none; background: none; font-weight: normal; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
7979
.lbs-table-silent th:last-child,
8080
.lbs-table-silent td:last-child { padding-right: 0; }
8181

docs/themes/pastel.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ body { background: var(--lbs-bg); }
7474
/* Silent table */
7575
.lbs-table-silent { table-layout: fixed; width: 100%; }
7676
.lbs-table-silent th,
77-
.lbs-table-silent td { border: none; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
77+
.lbs-table-silent td { border: none; background: none; font-weight: normal; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
7878
.lbs-table-silent th:last-child,
7979
.lbs-table-silent td:last-child { padding-right: 0; }
8080

docs/themes/pop.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ body { background: var(--lbs-bg); }
7676
/* Silent table */
7777
.lbs-table-silent { table-layout: fixed; width: 100%; border: none; border-radius: 0; }
7878
.lbs-table-silent th,
79-
.lbs-table-silent td { border: none; background: none; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
79+
.lbs-table-silent td { border: none; background: none; font-weight: normal; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; }
8080
.lbs-table-silent th:last-child,
8181
.lbs-table-silent td:last-child { padding-right: 0; }
8282

0 commit comments

Comments
 (0)