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.

informational_overlays: Fix CSS for tables in info_overlay.

PieterCK56db3f3d12bd
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 692e3571d4c..5c972633370 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -380,6 +380,7 @@
/* Markdown colors */
--color-background-rendered-markdown-thead: hsl(0deg 0% 93%);
--color-border-rendered-markdown-table: hsl(0deg 0% 80%);
+ --color-border-informational-overlays-table: hsl(0deg 0% 87%);
/* Markdown code colors */
--color-markdown-code-text: hsl(0deg 0% 0%);
@@ -735,6 +736,7 @@
/* Markdown color */
--color-background-rendered-markdown-thead: hsl(0deg 0% 0% / 50%);
--color-border-rendered-markdown-table: hsl(0deg 0% 100% / 20%);
+ --color-border-informational-overlays-table: hsl(0deg 0% 0% / 20%);
/* Markdown code colors */
/* Note that Markdown code-link colors are identical
diff --git a/web/styles/informational_overlays.css b/web/styles/informational_overlays.css
index c471a89a2e4..cf1b5ba4014 100644
--- a/web/styles/informational_overlays.css
+++ b/web/styles/informational_overlays.css
@@ -48,6 +48,20 @@
}
}
+ .overlay-body {
+ table {
+ border-color: var(--color-border-informational-overlays-table);
+ }
+
+ & tr th {
+ border-color: var(--color-border-informational-overlays-table);
+ }
+
+ & tr td {
+ border-color: var(--color-border-informational-overlays-table);
+ }
+ }
+
& td.operator {
font-size: 0.9em;
}