Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Fix heading borders for striped tables.

Sahil Batraebdd63f327b0
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index a4f8e10a7b0..9cf7a2f8511 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -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 {