Fix styling of time boxes