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: Fix not aligned header and topic columns.

Aman Agrawal332042ff3a9d
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 7ac11e14000..ca319d1a6ba 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -21,6 +21,7 @@
#recent-view-content-table {
/* To keep border properties to the thead th. */
border-collapse: separate;
+ table-layout: fixed;
border-spacing: 0;
width: 100%;
@@ -41,6 +42,7 @@
padding-bottom: var(--max-unmaximized-compose-height);
& td {
+ box-sizing: border-box;
vertical-align: middle;
padding: 3px 8px;
}
@@ -405,6 +407,7 @@
}
& thead th {
+ box-sizing: border-box;
text-align: left;
padding: 0.25em 0 0.25em 0.5em; /* 4px at 16px/1em */
background-color: var(--color-background-recent-view-table-thead-th);