diff --git a/app/assets/stylesheets/print.css b/app/assets/stylesheets/print.css index 4fb050b45..8acbe1b84 100644 --- a/app/assets/stylesheets/print.css +++ b/app/assets/stylesheets/print.css @@ -58,6 +58,7 @@ background: var(--color-canvas); border: var(--border-light); box-shadow: none; + break-inside: avoid; color: var(--color-ink); } @@ -70,6 +71,10 @@ } } + .card__title { + font-weight: bold; + } + /* Events /* ------------------------------------------------------------------------ */ @@ -105,6 +110,7 @@ background: var(--color-canvas); border: var(--border-light); box-shadow: none; + break-inside: avoid; color: var(--color-ink); .avatar { @@ -150,6 +156,21 @@ } } + .cards--closed { + .card:nth-of-type(7) { + margin-block: 0; + } + + .card:nth-of-type(n+7) { + border-inline: none; + max-inline-size: none; + } + + .card:nth-of-type(n+8) { + margin-block-start: calc(-1 * var(--cards-gap) - 1px); + } + } + /* Card perma /* ------------------------------------------------------------------------ */