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.

bootstrap: Remove bootstrap CSS for <table> element.

Sahil Batrafcaaa6566e27
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 1594c0b0c2a..21ed2208423 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -697,6 +697,7 @@ div.overlay {
.table-striped {
table-layout: auto;
border-collapse: separate;
+ border-spacing: 0;
&:not(.table-bordered) thead th {
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
@@ -760,6 +761,7 @@ div.overlay {
border-collapse: separate;
border-left: 0;
border-radius: 4px;
+ border-spacing: 0;
& th,
td {
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index b0d2a0ee746..bd8d37f66b2 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -574,6 +574,7 @@ ul {
width: 100%;
margin: auto;
border-radius: 6px;
+ border-collapse: collapse;
& tr {
border-bottom: 1px solid hsl(0deg 0% 87%);
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index 40a0a6c9c5e..e0366b350a7 100644
--- a/web/styles/portico/activity.css
+++ b/web/styles/portico/activity.css
@@ -30,6 +30,7 @@ td.number {
border-collapse: separate;
border-left: 0;
border-radius: 4px;
+ border-spacing: 0;
& th,
td {
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index b42e179eb14..6d550dd0c32 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -566,6 +566,8 @@ input.text-error {
background-color: hsl(0deg 0% 100%);
box-shadow: 0 0 4px hsl(0deg 0% 0% / 10%);
+ border-collapse: collapse;
+
tbody > tr:nth-child(odd) > td {
background-color: hsl(0deg 0% 98%);
}
@@ -1250,6 +1252,7 @@ label.label-title {
.table-bordered {
border: 1px solid hsl(0deg 0% 87%);
border-collapse: separate;
+ border-spacing: 0;
border-left: 0;
border-radius: 4px;
diff --git a/web/styles/recent_topics.css b/web/styles/recent_topics.css
index 2bf26f696d4..0f8d50ab899 100644
--- a/web/styles/recent_topics.css
+++ b/web/styles/recent_topics.css
@@ -92,6 +92,7 @@
user is at the bottom of scroll container when the compose box is open.
*/
margin-bottom: var(--max-unexpanded-compose-height);
+ border-spacing: 0;
}
#recent_topics_filter_buttons {
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index bea628427c4..dfa72395cf1 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -125,6 +125,7 @@
max-width: fit-content;
overflow-x: auto;
white-space: nowrap;
+ border-collapse: collapse;
}
& thead {
diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css
index 181e990e0e6..2d7d9412ffe 100644
--- a/web/third/bootstrap/css/bootstrap.css
+++ b/web/third/bootstrap/css/bootstrap.css
@@ -215,12 +215,6 @@ pre {
-moz-border-radius: 4px;
border-radius: 4px;
}
-table {
- max-width: 100%;
- background-color: transparent;
- border-collapse: collapse;
- border-spacing: 0;
-}
.table {
width: 100%;
margin-bottom: 20px;