I'm removing this hack: use the same x-height for inline code and text.I'm currently hacking the x-height by making inline <code> a little smaller.system-ui and ui-monospace (on Mac) have a different x-height.
This makes inline code and code blocks feel massive!
The solution
Use the exact same font-family in mono, making sure their x-heights are the same
The solution
font-family
in mono, making sure theirx-height
s are the samex-height
prior to using them. Make sure they match!An example of the problem
Image uses
SF Pro
andSF Mono
on iOS and MacOs devices (at time of writing)