modify css style to fix the UI when title is too long