How can I rotate text and icon in a button? I can rotate text (sort of) with a CSS transform, but:
- this only rotates the text, the icon doesn’t come with it (icon stays where it was)
- bounds still use the width of the button, e.g. if the width of the button doesn’t support the length of the text, it will line-wrap, despite the height of the button fully supporting the length of the text when rotated.
Setting the icon to display at the bottom kind of works, but I still can’t get it rotated…