Improve history template CSS. Avoid possible broken text.