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.

help: Add info icon to mobile stream settings macro.

David Rosaa1e9ac145d64
diff --git a/static/images/help/mobile-info-circle-icon.svg b/static/images/help/mobile-info-circle-icon.svg
new file mode 100644
index 00000000000..c5fdded4d07
--- /dev/null
+++ b/static/images/help/mobile-info-circle-icon.svg
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#6492fd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-info">
+ <circle cx="12" cy="12" r="10"></circle>
+ <line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>
+</svg>
diff --git a/static/styles/portico/markdown.css b/static/styles/portico/markdown.css
index e4a4c9524a8..545824240b3 100644
--- a/static/styles/portico/markdown.css
+++ b/static/styles/portico/markdown.css
@@ -241,6 +241,12 @@
box-shadow: none;
border: none;
}
+
+ &.mobile-icon {
+ width: 24px;
+ box-shadow: none;
+ border: none;
+ }
}
.warn,
diff --git a/templates/zerver/help/include/mobile-stream-settings-menu-tip.md b/templates/zerver/help/include/mobile-stream-settings-menu-tip.md
index 045dd6583bb..218bea40e77 100644
--- a/templates/zerver/help/include/mobile-stream-settings-menu-tip.md
+++ b/templates/zerver/help/include/mobile-stream-settings-menu-tip.md
@@ -1,5 +1,6 @@
!!! tip ""
If you are viewing a single stream or topic, you can access the
- stream settings menu from the information (**ⓘ**) icon in the top right
- corner of the app.
+ stream settings menu from the information
+ (<img src="/static/images/help/mobile-info-circle-icon.svg" alt="information" class="mobile-icon"/>)
+ button in the top right corner of the app.