Closed KemalPajevic closed 9 months ago
This is not a bug in kirby-card
, but in the css for the container. The column-count
css property should be used for text/paragraphs, that need to wrap into several columns, when the content exceeds the height of the container, i.e. in (printed) page layouts. See: https://developer.mozilla.org/en-US/docs/Web/CSS/column-count
The issue can be solved by using the following css instead:
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
Describe the bug
The issue manifests itself in several ways:
Describe how to reproduce the bug
kirby-card
s.column-count: 2;
The bug can also be seen in StackBlitz.
Which Kirby version was used?
8.3, 8.7 and 9.0
What was the expected behavior?
All cards have normal hover, don't flicker or disappear, don't break between columns, and respect the columns flow.
Add any screenshots
https://github.com/kirbydesign/designsystem/assets/9060580/8e488949-b6f1-4adf-a0e5-75d5f13f17bb
https://github.com/kirbydesign/designsystem/assets/9060580/fbaa6712-adad-4b72-b8be-95304831534f
Please complete the following information: