compose: Display Formatting button as "Help".

The Formatting button that opens our Markdown help popover previously
had an "A" as its icon (the Font Awesome icon for font). This commit
changes the link to spell out "Help" to make it more discoverable.
This commit is contained in:
Gittenburg
2020-09-23 06:08:23 +02:00
committed by Tim Abbott
parent 0c6df114f6
commit b245e1e49a
2 changed files with 5 additions and 6 deletions

View File

@@ -21,7 +21,7 @@
}
}
.drafts-link {
.message-control-link {
float: left;
}
@@ -126,10 +126,9 @@
box-shadow: none !important;
}
.drafts-link {
.message-control-link {
position: relative;
margin-right: 1em;
margin-left: 5px;
margin-right: 5px;
top: 2px;
}
}

View File

@@ -103,8 +103,8 @@
<a role="button" id="undo_markdown_preview" class="message-control-button fa fa-edit" aria-label="{{ _('Write') }}" tabindex=0 style="display:none;" title="{{ _('Write') }}"></a>
<a role="button" class="message-control-button fa fa-video-camera video_link" aria-label="{{ _('Add video call') }}" tabindex=0 title="{{ _('Add video call') }}"></a>
<a role="button" class="message-control-button fa fa-smile-o" aria-label="{{_('Add emoji')}}" id="emoji_map" tabindex=0 title="{{ _('Add emoji') }}"></a>
<a role="button" class="message-control-button fa fa-font" aria-label="{{ _('Formatting') }}" tabindex=0 title="{{ _('Formatting') }}" data-overlay-trigger="message-formatting"></a>
<a class="drafts-link" href="#drafts" title="{{ _('Drafts') }} (d)">{{ _('Drafts') }}</a>
<a class="message-control-link drafts-link" href="#drafts" title="{{ _('Drafts') }} (d)">{{ _('Drafts') }}</a>
<a role="button" class="message-control-link" tabindex=0 data-overlay-trigger="message-formatting">{{ _('Help') }}</a>
<span id="sending-indicator"></span>
<div id="send_controls" class="new-style">
<label id="enter-sends-label" class="compose_checkbox_label checkbox">