Open xjasonlyu opened 1 year ago
The issue seems to be caused by this css layout:
the 2px
padding and 1px
border were combined and added to the head and tail of the code block, which contributes to this misaligned layout.
Adding this css code into custom.css
works for me, but yet I don't know why. I'm not familiar with CSS ;-)
.post__content code {
line-height: 1.9rem;
display: inline-block;
}
@xjasonlyu Is this issue still current?
Yes, it still exists.
Taking the demo site as an example, the first line in the code block is slightly misaligned compared to the rest:
This issues applies to all the clode blocks and styles too.