A heading scales within its component and switches to a compact treatment when space becomes tight.
Resize the container to see the component adapt.