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: Fix formatting on stream-permissions table legend.

slefforge99097b10fc6c
diff --git a/static/styles/portico/markdown.css b/static/styles/portico/markdown.css
index 62e33d24a34..ce5bf15c3e9 100644
--- a/static/styles/portico/markdown.css
+++ b/static/styles/portico/markdown.css
@@ -86,6 +86,22 @@
text-align: center;
}
+ .legend_symbol {
+ position: absolute;
+ left: calc(40px);
+ transform: translateX(-50%);
+
+ /* Adjust for 50px closed left sidebar state */
+ @media (width <= 800px) {
+ left: calc(5% + 50px);
+ }
+ }
+
+ .legend_label {
+ position: relative;
+ left: calc(30px);
+ }
+
ul,
ol {
margin-left: 30px;
diff --git a/templates/zerver/help/stream-permissions.md b/templates/zerver/help/stream-permissions.md
index 8adf07cb523..82a9218082e 100644
--- a/templates/zerver/help/stream-permissions.md
+++ b/templates/zerver/help/stream-permissions.md
@@ -67,14 +67,14 @@ administrator can access private stream messages:
| Remove others | &#10004; | | |
| Delete | &#10004; | | |
-&#10004; Always
+<span class="legend_symbol">&#10004;</span><span class="legend_label">Always</span>
-&#9726; If subscribed to the stream
+<span class="legend_symbol">&#9726;</span><span class="legend_label">If subscribed to the stream</span>
-&#10038; [Configurable](/help/stream-sending-policy). Owners,
+<span class="legend_symbol">&#10038;</span><span class="legend_label">[Configurable](/help/stream-sending-policy). Owners,
Administrators, and Members can, by default, post to any public
stream, and Guests can only post to public streams if they are
-subscribed.
+subscribed.</span>
### Private streams
@@ -95,12 +95,12 @@ subscribed.
| Remove others | &#10004; | | |
| Delete | &#10004; | | |
-&#10004; Always
+<span class="legend_symbol">&#10004;</span><span class="legend_label">Always</span>
-&#9726; If subscribed to the stream
+<span class="legend_symbol">&#9726;</span><span class="legend_label">If subscribed to the stream</span>
-&#10038; [Configurable](/help/stream-sending-policy), but at minimum
-must be subscribed to the stream.
+<span class="legend_symbol">&#10038;</span><span class="legend_label">[Configurable](/help/stream-sending-policy), but at minimum
+must be subscribed to the stream.</span>
## Related articles