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.

page_loader: Correct clipped logo circle.

Karl Stolleya9e3331fcc0b
diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html
index aa26f30bf5b..6e165d3d476 100644
--- a/templates/zerver/app/index.html
+++ b/templates/zerver/app/index.html
@@ -225,7 +225,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1943053 -->
</table>
<div id="recent_view_bottom_whitespace">
<div class="bottom-messages-logo">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12">
+ <svg class="messages-logo-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12">
<circle cx="386.56" cy="386.56" r="386.56"/>
<path d="M566.66 527.25c0 33.03-24.23 60.05-53.84 60.05H260.29c-29.61 0-53.84-27.02-53.84-60.05 0-20.22 9.09-38.2 22.93-49.09l134.37-120c2.5-2.14 5.74 1.31 3.94 4.19l-49.29 98.69c-1.38 2.76.41 6.16 3.25 6.16h191.18c29.61 0 53.83 27.03 53.83 60.05zm0-281.39c0 20.22-9.09 38.2-22.93 49.09l-134.37 120c-2.5 2.14-5.74-1.31-3.94-4.19l49.29-98.69c1.38-2.76-.41-6.16-3.25-6.16H260.29c-29.61 0-53.84-27.02-53.84-60.05s24.23-60.05 53.84-60.05h252.54c29.61 0 53.83 27.02 53.83 60.05z"/>
</svg>
@@ -249,7 +249,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1943053 -->
<div id="message_feed_container">
<div class="message-feed" id="main_div">
<div class="top-messages-logo">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12">
+ <svg class="messages-logo-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12">
<circle cx="386.56" cy="386.56" r="386.56"/>
<path d="M566.66 527.25c0 33.03-24.23 60.05-53.84 60.05H260.29c-29.61 0-53.84-27.02-53.84-60.05 0-20.22 9.09-38.2 22.93-49.09l134.37-120c2.5-2.14 5.74 1.31 3.94 4.19l-49.29 98.69c-1.38 2.76.41 6.16 3.25 6.16h191.18c29.61 0 53.83 27.03 53.83 60.05zm0-281.39c0 20.22-9.09 38.2-22.93 49.09l-134.37 120c-2.5 2.14-5.74-1.31-3.94-4.19l49.29-98.69c1.38-2.76-.41-6.16-3.25-6.16H260.29c-29.61 0-53.84-27.02-53.84-60.05s24.23-60.05 53.84-60.05h252.54c29.61 0 53.83 27.02 53.83 60.05z"/>
</svg>
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 543216fb4d1..a22ba021a98 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -234,6 +234,10 @@ p.n-margin {
}
}
+.messages-logo-svg {
+ width: 1.7188em; /* 27.5px at 16px/1em */
+}
+
.bottom-messages-logo {
display: none;
}