Remove wrapping div in board header

This commit is contained in:
Adrien Maston
2026-01-08 17:19:06 +01:00
parent 24e4335ef8
commit c5bd48a12a
+6 -8
View File
@@ -5,18 +5,17 @@
<%= turbo_stream_from @board %>
<% content_for :header do %>
<div data-controller="bridge--buttons">
<div class="header__actions header__actions--start hide-on-native">
<%= link_to_webhooks(@board) if Current.user.admin? %>
</div>
<div class="header__actions header__actions--start hide-on-native">
<%= link_to_webhooks(@board) if Current.user.admin? %>
</div>
<h1 class="header__title divider divider--fade full-width" data-bridge--page-target="header">
<span class="overflow-ellipsis"><%= @board.name %></span>
</h1>
<div class="header__actions header__actions--end hide-on-native">
<%= link_to_edit_board @board %>
</div>
<div class="header__actions header__actions--end hide-on-native">
<%= link_to_edit_board @board %>
</div>
<div class="visually-hidden">
<%= button_to board_cards_path(@board),
@@ -41,7 +40,6 @@
data: { bridge__overflow_menu_target: "item" } %>
<% end %>
</div>
</div>
<% end %>
<%= render "filters/settings", filter_url: board_path(@board), user_filtering: @user_filtering, no_filtering_url: board_path(@board) do |form| %>