Reduce caption content depending on windowsize (responsive)

I would like to reduce the captions of some buttons to fit into smaller screens.

I found this solution for vaadin to react to window size.

How can I use this in Jmix or is there a better way to do this? I’m currently using the classic UI - not Flow UI.

May be this helps:

2 Likes