Fix headings in compact mode which should be truncated text

Use !important rather than specific rules to make clear what we
are overriding.
Styling of headings is broken in compact mode without this fix.

Change-Id: I975323c14e246b44cb5cdae3f983d0dce615183c