Skip to content

Commit 74f26ae

Browse files
committed
Restyle table a bit
1 parent 6b44ff9 commit 74f26ae

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

templates/trainee-batch.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<style type="text/css">
55
th, td {
66
border: 1px black solid;
7+
background-color: white;
78
}
89
td.attendance-absent {
910
background-color: #ff0d0d57;
@@ -33,22 +34,22 @@
3334
background-color: grey;
3435
}
3536

36-
th {
37-
background-color: white;
37+
table {
38+
border-spacing: 0px;
3839
}
3940

4041
table thead {
4142
position: sticky;
4243
top: 0;
43-
z-index: 1;
44+
z-index: 2;
4445
}
4546

46-
table tbody th, table thead tr th:nth-of-type(0) {
47+
th, tr th:nth-of-type(0) {
4748
position: sticky;
4849
left: 0;
49-
z-index: 2;
50+
z-index: 1;
5051
}
51-
table tbody th {
52+
th {
5253
font-weight: normal;
5354
}
5455
</style>

0 commit comments

Comments
 (0)