pages-themes/time-machine

Language highlight renders line numbers incorrectly in Safari (macOS)

jamesmartin opened this issue · 2 comments

Line numbers render above their associated syntax highlight block in Safari (10.0.1, macOS Sierra):

screen shot 2016-12-14 at 1 55 01 pm

screen shot 2016-12-14 at 1 56 50 pm

Apparently Safari has problem with attribute "overflow: auto" on pre elements. The debugger shows that it comes from styles.css:1:854, that probably comes from here:

overflow: auto;
. If I disable this attribute either on block with line numbers or on block with the source code then everything is displayed fine. Replacing the value with anything but "visible" does not help.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.