mirror of https://github.com/zulip/zulip.git
help: Fix formatting on stream-permissions table legend.
This is a bit hacky, but it avoids the legend being weirdly misaligned. Fixes #18062.
This commit is contained in:
parent
51e24519b8
commit
99097b10fc
|
@ -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;
|
||||
|
|
|
@ -67,14 +67,14 @@ administrator can access private stream messages:
|
|||
| Remove others | ✔ | | |
|
||||
| Delete | ✔ | | |
|
||||
|
||||
✔ Always
|
||||
<span class="legend_symbol">✔</span><span class="legend_label">Always</span>
|
||||
|
||||
◾ If subscribed to the stream
|
||||
<span class="legend_symbol">◾</span><span class="legend_label">If subscribed to the stream</span>
|
||||
|
||||
✶ [Configurable](/help/stream-sending-policy). Owners,
|
||||
<span class="legend_symbol">✶</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 | ✔ | | |
|
||||
| Delete | ✔ | | |
|
||||
|
||||
✔ Always
|
||||
<span class="legend_symbol">✔</span><span class="legend_label">Always</span>
|
||||
|
||||
◾ If subscribed to the stream
|
||||
<span class="legend_symbol">◾</span><span class="legend_label">If subscribed to the stream</span>
|
||||
|
||||
✶ [Configurable](/help/stream-sending-policy), but at minimum
|
||||
must be subscribed to the stream.
|
||||
<span class="legend_symbol">✶</span><span class="legend_label">[Configurable](/help/stream-sending-policy), but at minimum
|
||||
must be subscribed to the stream.</span>
|
||||
|
||||
## Related articles
|
||||
|
||||
|
|
Loading…
Reference in New Issue