Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line number gutter: transform: scale breaks line height #1164

Open
rolyp opened this issue Nov 11, 2024 · 0 comments
Open

Line number gutter: transform: scale breaks line height #1164

rolyp opened this issue Nov 11, 2024 · 0 comments

Comments

@rolyp
Copy link
Collaborator

rolyp commented Nov 11, 2024

Some CodeMirror nonsense sets style="height: ..." on cm-gutterElement elements directly, which is both incorrect (doesn’t interact properly with scaling transforms) and hard to work around (because style is the most specific way of specifying CSS attributes). Only seems to manifest with pages that use transform: scale.

@rolyp rolyp added this to Fluid Nov 11, 2024
@github-project-automation github-project-automation bot moved this to Proposed in Fluid Nov 11, 2024
@rolyp rolyp moved this from Proposed to Planned in Fluid Nov 11, 2024
@rolyp rolyp changed the title Line number gutter: vertical spacing borked with transform: scale(1.5) Line number gutter: transform: scale breaks line height Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Planned
Development

No branches or pull requests

1 participant