Commit Graph
6 Commits
Author SHA1 Message Date
Dermot Duffy 1992db2144 fix: Panel mode should exclude header height (#1738)
* fix: Panel mode should exclude header height

* Update docs to clarify aspect-ratio behavior in a panel
2024-12-11 20:42:05 -08:00
Dermot Duffy f924537025 fix: Replace max_height with height (#1539)
* fix: Replace `max_height` with `height`

BREAKING CHANGE: This entirely removes `min_height`, and replaces `max_height` with `height`. The behavior is obviously not exactly the same, but the prior behavior did not actually work correctly. CSS does not  limit the height of child elements that are `100%` of their parents height if the parent does not have an explicit height set (this caused spillage over the set max height). As such, it's simpler to just allow the user to set the actual height of the card should they need to do so, with a (hopefully) minor loss of flexibility.

* Test fixes
2024-09-15 17:29:05 -07:00
Felipe Santos 91b0909614 Fix some broken formatting in the docs 2024-06-10 00:49:57 -03:00
Felipe Santos fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy c7c85d188d Add support for precise layout cropping options. 2024-04-15 16:10:09 -07:00
Dermot Duffy 955bcb3a9a Complete documentation overhaul. 2024-04-01 21:09:20 -07:00