diff --git a/app/assets/stylesheets/buttons.css b/app/assets/stylesheets/buttons.css index 458cdf46a..69c2a682d 100644 --- a/app/assets/stylesheets/buttons.css +++ b/app/assets/stylesheets/buttons.css @@ -109,9 +109,11 @@ aspect-ratio: 1; padding: 0.5em; + kbd, span:last-of-type { display: none; } + } } diff --git a/app/views/events/index/_add_board_button.html.erb b/app/views/events/index/_add_board_button.html.erb index 3af54a792..613252ff3 100644 --- a/app/views/events/index/_add_board_button.html.erb +++ b/app/views/events/index/_add_board_button.html.erb @@ -1,7 +1,7 @@
<%= link_to new_board_path, class: "btn btn--link btn--circle-mobile", data: { controller: "hotkey", action: "keydown.b@document->hotkey#click" } do %> - <%= icon_tag "board", class: "show-on-touch" %> + <%= icon_tag "board" %> Add a board B <% end %> diff --git a/app/views/events/index/_add_card_button.html.erb b/app/views/events/index/_add_card_button.html.erb index 59390375b..b653e89b5 100644 --- a/app/views/events/index/_add_card_button.html.erb +++ b/app/views/events/index/_add_card_button.html.erb @@ -1,7 +1,7 @@
<% if board = user_filtering.single_board_or_first %> <%= button_to board_cards_path(board), method: :post, class: "btn btn--link btn--circle-mobile", data: { controller: "hotkey", action: "keydown.c@document->hotkey#click" } do %> - <%= icon_tag "add", class: "show-on-touch" %> + <%= icon_tag "add" %> Add a card C <% end %>