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.

message_headers: Add variable for last message row's border radius.

PieterCK9f9c8dcb7ca7
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 3b963f4b799..1a5b4cb97c4 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -476,6 +476,7 @@
/* This width is updated with an exact pixel
width upon UI initialization. */
--message-box-timestamp-column-width: 0;
+ --last-message-row-border-radius: 0 0 7px 7px;
/* This length is the primary reference for height
and image width on URL preview embeds. 112px
diff --git a/web/styles/message_header.css b/web/styles/message_header.css
index 259e8cd3826..9fbe6fade7d 100644
--- a/web/styles/message_header.css
+++ b/web/styles/message_header.css
@@ -173,7 +173,7 @@
border-radius: 5px;
.message_row:last-of-type {
- border-radius: 0 0 7px 7px;
+ border-radius: var(--last-message-row-border-radius);
border-bottom: 1px solid var(--color-message-list-border);
.unread-marker-fill {