mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
settings: Fix heading borders for striped tables.
The bottom border of heading row in striped (and not bordered) tables was thicker than needed due to two borders being present - one from the bottom border for heading element and one from top border for the first row in the table. This commit changes the CSS to remove the top border of the first row.
This commit is contained in:
@@ -700,9 +700,15 @@ div.overlay {
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
|
||||
&:not(.table-bordered) thead th {
|
||||
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
||||
border-bottom: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
||||
&:not(.table-bordered) {
|
||||
thead th {
|
||||
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
||||
border-bottom: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
||||
}
|
||||
|
||||
tbody tr:first-child td {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
& thead th {
|
||||
|
||||
Reference in New Issue
Block a user