chatgpt-demo icon indicating copy to clipboard operation
chatgpt-demo copied to clipboard

fix(typography): list item marker is clipped by left border

Open curly210102 opened this issue 1 year ago • 1 comments

Closes #103

Description

Reason: The @unocss/preset-typography sets a padding-left of only 1.5em for ol/ul markers that contain two characters, which is not enough space. Increasing the padding-left to 2em is a simple solution to this issue.

However, removing the container's overflow-hidden property by giving the code block a wrapper container may create more space for display, but it could potentially cause a conflict with the "code copy" PR.

Linked Issues

#103

Additional context

curly210102 avatar Mar 06 '23 16:03 curly210102