Logbook Display Problem

I have Home Assistant running in a virtual environment on one computer and Home Assistant running in hassio on another computer.

The logbook entries display differently on the two setups.

HA virtual:
image

HA hassio:

Why does the time AM and PM ‘wrap’ the a new line when there are more than 7 characters in hassio? Can UI layouts be modified?