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.

css: Re-add bootstrap CSS for tables with "table-bordered" class.

Sahil Batra3ce6fbe10a1d
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 2f160278386..1084e4d8700 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -743,6 +743,34 @@ div.overlay {
}
}
+.table-bordered {
+ border: 1px solid hsl(0deg 0% 87%);
+ border-collapse: separate;
+ border-left: 0;
+ border-radius: 4px;
+
+ & th,
+ td {
+ border-left: 1px solid hsl(0deg 0% 87%);
+ }
+
+ thead tr:first-child > th:first-child {
+ border-top-left-radius: 4px;
+ }
+
+ thead tr:first-child > th:last-child {
+ border-top-right-radius: 4px;
+ }
+
+ tbody:last-child tr:last-child > td:first-child {
+ border-bottom-left-radius: 4px;
+ }
+
+ tbody:last-child tr:last-child > td:last-child {
+ border-bottom-right-radius: 4px;
+ }
+}
+
#stream_settings .save-button-controls,
#settings_page .save-button-controls {
display: inline;