Absent Right Padding In Firefox

I'm not entirely sure why this is happening but if I use overflow-x: auto; for the pre and code elements, Firefox ignores the padding on the right side of the code block if the content inside code overflows horizontally. Chromium does not seem to have this issue.

I found this discussion on GitHub going all the way back to 2016.

=> csswg-drafts: clarify padding in overflow content


Created: 2022-05-05

=> MicroGemlog | Home

Proxy Information
Original URL
gemini://ayushnix.com/microgemlog/2022-05-05-absent-right-padding-firefox.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
644.755773 milliseconds
Gemini-to-HTML Time
0.325891 milliseconds

This content has been proxied by September (3851b).