Skip to content

Commit

Permalink
Remove text from DM button, stops excessive text wrap on desktop view…
Browse files Browse the repository at this point in the history
… with three columns (#882)
  • Loading branch information
debounced authored Jul 2, 2024
1 parent 1096279 commit 0ce231c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/user_actions.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</form>
<a href="{{ path('messages_create', {username: user.username}) }}" title="{{ 'direct_message'|trans }}" aria-label="{{ 'direct_message'|trans }}">
<button class="btn btn__secondary">
<i class="fa-solid fa-envelope" aria-hidden="true"></i> <span class="hide-on-mobile">{{ 'direct_message'|trans }}</span>
<i class="fa-solid fa-envelope" aria-hidden="true"></i>
</button>
</a>
{% elseif app.user is same as user and is_route_name_starts_with('user') and not is_route_name_contains('settings') %}
Expand Down

0 comments on commit 0ce231c

Please sign in to comment.