?
avatar cloudfaction
cloudfaction
18 Jan 2021

Steps to reproduce the issue

use a module with a code mirror field, and use chrome

Expected result

see the code you want to edit

Actual result

the code-mirror line numbers(gray on left) overlap the actual code

System information (as much as possible)

chrome / Mac OS / Joomla 4 B7

Additional comments

See screenshot
Screenshot 2021-01-18 at 17 28 31

avatar cloudfaction cloudfaction - open - 18 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Jan 2021
avatar cloudfaction
cloudfaction - comment - 18 Jan 2021

add css to .CodeMirror-scroll:
.CodeMirror-Scroll{ padding-left: 30px }
fixed it for me.

avatar PhilETaylor
PhilETaylor - comment - 18 Jan 2021

duplicate of one of my reports.

avatar PhilETaylor
PhilETaylor - comment - 18 Jan 2021

see #31908

avatar brianteeman
brianteeman - comment - 19 Jan 2021

Could not replicate on windows using chrome

image

avatar brianteeman
brianteeman - comment - 19 Jan 2021

Correction I see the problem now and its apparently quite a common issue with codemirror. codemirror/CodeMirror#3098 (comment)

I am looking at the suggestions

avatar brianteeman
brianteeman - comment - 19 Jan 2021

Please test #32083

avatar richard67 richard67 - change - 19 Jan 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-01-19 18:23:17
Closed_By richard67
avatar richard67 richard67 - close - 19 Jan 2021
avatar richard67
richard67 - comment - 19 Jan 2021

Closing as having a pull request. Please test #32083 . Thanks in advance, and thanks for reporting.

Add a Comment

Login with GitHub to post a comment