chore: Update scripts/visual-regression/report-template.html (#51672)

This commit is contained in:
𝑾𝒖𝒙𝒉 2024-11-18 11:44:26 +08:00 committed by GitHub
parent 4b186714d0
commit f7aa3ec692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,11 @@
border-collapse: collapse;
}
table > thead {
position: sticky;
top: 0;
}
th,
td {
padding: 8px;
@ -61,13 +66,22 @@
border: 0;
}
table > thead {
position: unset;
}
th,
td {
width: 100%;
display: block;
padding: 6px;
border: none;
}
td:last-child {
border-bottom: 3px dashed darkgray;
}
th {
text-align: left;
background-color: transparent;