Skip to content

Commit 334e8c6

Browse files
committed
It looks better with header's top=auto
1 parent 98ee410 commit 334e8c6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@
4343
min-height: 1em;
4444
}
4545

46-
.responsive td:nth-child(odd):before, .responsive td:nth-child(even):before {
46+
.responsive td:nth-child(odd)::before, .responsive td:nth-child(even)::before {
4747
/* Now like a table header */
4848
position: absolute;
4949
/* Top/left values mimic padding */
50-
top: 6px;
5150
left: 6px;
5251
width: 45%;
5352
padding-right: 10px;
@@ -65,7 +64,7 @@
6564
padding-left: 6px;
6665
}
6766

68-
.responsive td.responsive-omit-title:before {
67+
.responsive td.responsive-omit-title::before {
6968
display: none;
7069
}
7170

0 commit comments

Comments
 (0)