[wp-meta] [Making WordPress.org] #2226: Support Theme: Large blocks of code result in double scroll bars
Making WordPress.org
noreply at wordpress.org
Sat Nov 12 00:54:01 UTC 2016
#2226: Support Theme: Large blocks of code result in double scroll bars
----------------------------+------------------
Reporter: bcworkz | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: |
----------------------------+------------------
Comment (by SergeyBiryukov):
Caused by `box-sizing` property in the new theme:
{{{
html {
box-sizing: border-box;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property
for components that leverage other behavior; see http://css-tricks.com
/inheriting-box-sizing-probably-slightly-better-best-practice/ */
box-sizing: inherit;
}
}}}
`pre { box-sizing: content-box; }` fixes it for me.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2226#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list