Archived topic
Font size of code blocks changed
3 replies · Started by Peter van der Woude on June 5, 2015
Hi,
Today I installed the GP Premium package and I updated my GP theme to the latest version. One of these actions has changed the font size of my code samples to be a lot larger. I just can't figure what has changed that could cause this. It doesn't seem to be something that can be configured through the menu's. Could you guide me in the right direction?
For an example see: http://www.petervanderwoude.nl/post/automagically-set-the-mobile-device-owner-to-company/
Thanks!
Peter
Hi Peter,
Sorry about that - I overlooked something in the update.
It's been fixed in the next version.
For now, you can add this CSS:
pre {
background: rgba(0, 0, 0, 0.05);
font-family: inherit;
font-size: inherit;
line-height: normal;
margin-bottom: 1.5em;
padding: 20px;
overflow: auto;
max-width: 100%;
}
Thank you Tom! Much better!
No problem! :)
