Fix the column mark-up had drifted

This ensure the transitions work properly and that the columns all align
nicely at the top of the board
This commit is contained in:
Jason Zimdars
2025-11-06 15:36:00 -06:00
parent f8421eca89
commit 358efa67a7
3 changed files with 18 additions and 6 deletions
@@ -3,7 +3,11 @@
data-action="turbo:before-morph-attribute->collapsible-columns#preventToggle"
>
<%= render "boards/show/expander", title: "Done", count: board.cards.closed.count, column_id: "closed-cards" %>
<div class="cards__transition-container">
<header class="cards__header">
<%= render "boards/show/expander", title: "Done", count: board.cards.closed.count, column_id: "closed-cards" %>
</header>
<%= column_frame_tag :closed_column, src: public_board_columns_closed_path(board.publication.key) %>
<%= column_frame_tag :closed_column, src: public_board_columns_closed_path(board.publication.key) %>
</div>
</section>
@@ -4,7 +4,11 @@
data-controller="clicker"
data-action="turbo:before-morph-attribute->collapsible-columns#preventToggle"
>
<%= render "boards/show/expander", title: column.name, count: column.cards.active.count, column_id: dom_id(column) %>
<div class="cards__transition-container">
<header class="cards__header">
<%= render "boards/show/expander", title: column.name, count: column.cards.active.count, column_id: dom_id(column) %>
</header>
<%= column_frame_tag dom_id(column, :cards), src: public_board_column_path(column.board.publication.key, column) %>
<%= column_frame_tag dom_id(column, :cards), src: public_board_column_path(column.board.publication.key, column) %>
</div>
</section>
@@ -3,7 +3,11 @@
data-action="turbo:before-morph-attribute->collapsible-columns#preventToggle"
>
<%= render "boards/show/expander", title: "Not Now", count: board.cards.postponed.count, column_id: "not-now" %>
<div class="cards__transition-container">
<header class="cards__header">
<%= render "boards/show/expander", title: "Not Now", count: board.cards.postponed.count, column_id: "not-now" %>
</header>
<%= column_frame_tag :not_now_column, src: public_board_columns_not_now_path(board.publication.key) %>
<%= column_frame_tag :not_now_column, src: public_board_columns_not_now_path(board.publication.key) %>
</div>
</section>