Skip to content

Commit 7580bfb

Browse files
committed
don't clear bottom border on cells in last row in table; move stripe background to variable
1 parent 6404501 commit 7580bfb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/css/doc.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,13 @@
238238
border-top-width: 0;
239239
}
240240

241+
/* Let the grid win out for the bottom border
242+
/*
241243
.doc table.frame-none > :last-child > :last-child > *,
242244
.doc table.frame-sides > :last-child > :last-child > * {
243245
border-bottom-width: 0;
244246
}
247+
*/
245248

246249
.doc table.frame-none > * > tr > :first-child,
247250
.doc table.frame-ends > * > tr > :first-child {
@@ -257,7 +260,7 @@
257260
.doc table.stripes-odd > tbody > tr:nth-of-type(odd),
258261
.doc table.stripes-even > tbody > tr:nth-of-type(even),
259262
.doc table.stripes-hover > tbody > tr:hover {
260-
background: var(--admonition-background);
263+
background: var(--table-stripe-background);
261264
}
262265

263266
.doc .halign-left {

src/css/vars.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
--quote-attribution-font-color: var(--color-gray-30);
114114
--sidebar-background: var(--color-smoke-90);
115115
--table-border-color: var(--panel-border-color);
116+
--table-stripe-background: var(--panel-background);
116117
/* footer */
117118
--footer-line-height: var(--doc-line-height);
118119
--footer-background: var(--color-jet-80);

0 commit comments

Comments
 (0)