More style
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<div class="bar full-width" data-controller="bar" data-bar-dialog-outlet="#bar-model"
|
||||
data-bar-search-url-value="<%= search_path %>">
|
||||
<div class="flex justify-center bar__placeholder" data-bar-target="buttonsContainer">
|
||||
<%= tag.button class: "btn btn--plain",
|
||||
data: { controller: "hotkey", action: "bar#search keydown.k@document->hotkey#click" } do %>
|
||||
<%= tag.button class: "btn btn--plain", data: {
|
||||
controller: "hotkey", action: "bar#search keydown.k@document->hotkey#click" } do %>
|
||||
<span>Search <% if platform.desktop? -%><kbd>K</kbd><% end %></span>
|
||||
<% end %>
|
||||
</div>
|
||||
@@ -11,8 +11,8 @@
|
||||
<%= render "searches/form", query_terms: "" %>
|
||||
</div>
|
||||
|
||||
<%= tag.dialog id: "bar-modal", class: "bar__modal",
|
||||
data: { controller: "dialog", dialog_target: "dialog", action: "keydown.esc@document->bar#reset:stop" } do %>
|
||||
<%= tag.dialog id: "bar-modal", class: "bar__modal", data: {
|
||||
controller: "dialog", dialog_target: "dialog", action: "keydown.esc@document->bar#reset:stop" } do %>
|
||||
<%= turbo_frame_tag "bar_content", data: { bar_target: "turboFrame" } %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user