illright/attractions

CSS media breakpoints support?

Opened this issue · 1 comments

Hi there,

I would like to know if there is any kind of CSS media breakpoints support.

My current case: I have chips for a particular view selection and I would like to hide the text labels if the screen width becomes smaller than a certain amount of pixels.

grafik

=>

grafik

In the latter screenshot I'd like to hide the text in the chip.

Should I code it by my own? I know e.g. Tailwind CSS supports this and from what I remember there are other frameworks in general, which are "media breakpoints"-aware.

Yeah, you'll have to code these yourself. Attractions does ship with some media queries to adapt the components to screen sizes, but custom adaptation logic will have to be coded in manually