Fix styling issues with long titles