Support for additional units like em
, rem
, vh
, … in x-collapse.min modifier
#4036
rungta
started this conversation in
3. Feature Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The x-collapse
.min
modifier is great for partially truncating content. However, we are currently limited to specifying a single pixel value. A lot of use-cases involve designs where the amount of visible content is more dynamic — based on the font size, or viewport breakpoint, etc. So it would be useful to be able to specifyx-collapse.min.4rem
orx-collapse.min.50vh
. For even more flexibility, if the min modifier could take in a CSS variable then we can dynamically alter the value based on media queries, in JS, etc.(Also see this related request: #2984)
Beta Was this translation helpful? Give feedback.
All reactions