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.

recent_view: Add border around the table.

Aman Agrawal56085277ae83
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 96e226e549f..1327ade74ad 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1115,8 +1115,8 @@
hsl(0deg 0% 0% / 20%)
);
--color-border-recent-view-table: light-dark(
- hsl(0deg 0% 0% / 60%),
- hsl(0deg 0% 88%)
+ hsl(0deg 0% 0% / 10%),
+ hsl(0deg 0% 0% / 10%)
);
--color-background-recent-view-row: light-dark(
hsl(100deg 11% 96%),
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index b7479ed9d3c..21ff9302e0f 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -14,6 +14,7 @@
display: flex;
flex-direction: column;
border: 0;
+ background-color: var(--color-background);
}
#recent_view_table .table,
@@ -25,6 +26,13 @@
width: 100%;
}
+#recent-view-content-table {
+ border: 1px solid var(--color-border-recent-view-table);
+ border-top: none;
+ border-radius: 0 0 5px 5px;
+ overflow: hidden;
+}
+
#recent_view {
display: none;
padding-top: var(--navbar-fixed-height);
@@ -35,7 +43,6 @@
& td {
vertical-align: middle;
padding: 3px 8px;
- border-top: 1px solid var(--color-border-recent-view-row);
}
.recent_view_focusable {
@@ -122,6 +129,10 @@
.table_fix_head {
padding: 0 !important;
+ border: 1px solid var(--color-border-recent-view-table);
+ border-bottom: none;
+ border-radius: 5px 5px 0 0;
+ overflow: hidden;
}
.recent-view-load-more-container {