Add btn--back class

This commit is contained in:
Andy Smith
2025-11-13 13:57:36 -06:00
parent 57ec309e91
commit 3d2b649828
13 changed files with 74 additions and 42 deletions
+4 -5
View File
@@ -2,11 +2,10 @@
<% content_for :header do %>
<div class="header__actions header__actions--start">
<%= link_to @webhook, class: "btn borderless txt-medium", data: { controller: "hotkey", action: "keydown.left@document->hotkey#click" } do %>
<span class="overflow-ellipsis flex align-center">
<strong>Back to <%= @page_title %></strong>
<kbd class="txt-x-small margin-inline-start hide-on-touch">&larr;</kbd>
</span>
<%= link_to @webhook, class: "btn btn--back borderless txt-medium", data: { controller: "hotkey", action: "keydown.left@document->hotkey#click" } do %>
<%= icon_tag("arrow-left") %>
<strong class="btn--back__label overflow-ellipsis">Back to <%= @page_title %></strong>
<kbd class="txt-x-small hide-on-touch">&larr;</kbd>
<% end %>
</div>
<% end %>