Fix public boards
This commit is contained in:
@@ -182,10 +182,14 @@
|
||||
.cards__transition-container {
|
||||
block-size: 100%;
|
||||
border-radius: calc(var(--column-width-collapsed) / 2);
|
||||
translate: 0 0.5ch; // Allow a little room for the mini bubble */
|
||||
translate: 0 0.5ch; /* Allow a little room for the mini bubble */
|
||||
transition: translate var(--column-transition-duration) var(--ease-out-overshoot-subtle);
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.is-expanded & {
|
||||
translate: 0 0.5ch; /* Allow a little room for the mini bubble */
|
||||
}
|
||||
|
||||
.is-collapsed & {
|
||||
translate: 0 var(--column-width-collapsed);
|
||||
}
|
||||
@@ -366,6 +370,7 @@
|
||||
font-weight: 600;
|
||||
gap: 0.5ch;
|
||||
grid-area: expander;
|
||||
justify-content: center;
|
||||
outline: none;
|
||||
outline-offset: -2px;
|
||||
position: relative;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
data-controller="collapsible-columns"
|
||||
data-collapsible-columns-board-value="<%= board.id %>"
|
||||
data-collapsible-columns-collapsed-class="is-collapsed"
|
||||
data-collapsible-columns-expanded-class="is-expanded"
|
||||
data-collapsible-columns-no-transitions-class="no-transitions"
|
||||
data-collapsible-columns-title-not-visible-class="is-off-screen">
|
||||
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
<section id="maybe" class="cards cards--maybe" data-column-name="Maybe?"
|
||||
<section id="maybe"
|
||||
class="cards cards--maybe is-expanded"
|
||||
data-column-name="Maybe?"
|
||||
data-collapsible-columns-target="column maybeColumn"
|
||||
data-action="turbo:before-morph-attribute->collapsible-columns#preventToggle">
|
||||
<div class="cards__transition-container">
|
||||
<header class="cards__header">
|
||||
<div class="cards__expander">
|
||||
<div hidden class="cards__expander">
|
||||
<h2 class="cards__expander-title" data-collapsible-columns-target="title">Maybe?</h2>
|
||||
</div>
|
||||
|
||||
<%# render "boards/show/expander", title: "Maybe?", count: column.cards.active.count, column_id: dom_id(column) %>
|
||||
<%= render "boards/show/expander", title: "Maybe?", count: 2, column_id: "maybe" %>
|
||||
|
||||
<%= link_to public_board_columns_stream_url(board.publication.key), class: "cards__maximize-button btn btn--circle txt-x-small borderless", data: { turbo_frame: "_top" } do %>
|
||||
<%= icon_tag "grid", class: "translucent" %>
|
||||
<span class="for-screen-reader">Maximize column</span>
|
||||
|
||||
Reference in New Issue
Block a user