-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Comments
danloveg
pushed a commit
to NationalCentreTruthReconciliation/django-dbtemplates
that referenced
this issue
Apr 12, 2022
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
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
The text was updated successfully, but these errors were encountered: