I am trying to make my app being responsive. For small displays, I would like to remove the IconTabFilter
icons using CSS. Until now, I am checking the user agent in JS and add the icons manually to the IconTab
(or omit them).
Is there a way to hide the icons in the icon tab using CSS? I'm using media queries.
Just set the text
property of IconTabFilter
, and leave the icon
property empty. Then you will have the text-only IconTab.
See the example.