Pre element generated by BBC [code] too short for single-line, causes scrolling March 23, 2022, 03:50:21 am Code: [Select]This is a single line of something or other. 19.5px is too short. Removing my height attribute fixes the problem.
Re: Pre element generated by BBC [code] too short for single-line, causes scrolling Reply #1 – March 23, 2022, 01:54:32 pm Interesting that one. Looks like a very old bug actually. That height was done via JS, but the logic had a comparison of a rounded number to a non rounder number, so edge cases (single line) were being set incorrectly.Should be fixed now, browser refresh required.
Re: Pre element generated by BBC [code] too short for single-line, causes scrolling Reply #2 – March 23, 2022, 02:02:29 pm You had me worried there for a second, but it also seems to look fine without JS.