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

CodeMirror Line Numbers are Offset in Admin Dashboard #106

Open
elikir opened this issue Nov 19, 2019 · 1 comment
Open

CodeMirror Line Numbers are Offset in Admin Dashboard #106

elikir opened this issue Nov 19, 2019 · 1 comment

Comments

@elikir
Copy link

elikir commented Nov 19, 2019

I've been trying to integrate DBTemplates into my site and have run into a bug when using CodeMirror where the first line of code starts on what appears to be line 3, but it's just the div containing the line numbers being pushed down for some reason. Changing the width of the iframe from 100% to 90% seems to be a viable fix, but I'd be very surprised if this isn't something that's been found before.

I've put a screenshot of what we're seeing down below

image

danloveg pushed a commit to NationalCentreTruthReconciliation/django-dbtemplates that referenced this issue Apr 12, 2022
@mpasternak
Copy link
Contributor

I guess we could merge it into codebase as it does not seem to affect non-CodeMirror users. Would you like to submit a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants