Skip to content

[BUG] Code Block Theme : vue.css #2193

@seanzfy

Description

@seanzfy

Describe the bug
A clear and concise description of what the bug is.

Environment

  • OS: Windows 11
  • VSCode: 1.82.0
  • Markdown Preview Enhanced: 0.8.0

To Reproduce
Steps to reproduce the behavior:
Monitor Resolution 1920 x 1080

  1. Set "Markdown Preview Enhanced: Code Block Theme" to vue.css.
    2.Add the line-numbers class to code blocks.
    3.After the code blocks are rendered, the line numbers and the code text are misaligned (cannot be aligned properly).
    4.Currently, this issue is only found with the vue.css theme; other code block themes do not exhibit this problem.
    Expected behavior
    fix this issue
    Markdown file
    Every markdown file.

Screenshots

Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions