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:
slefforge 2021-05-19 11:07:26 -05:00 committed by Tim Abbott
parent 51e24519b8
commit 99097b10fc
2 changed files with 24 additions and 8 deletions

View File

@ -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;

View File

@ -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