Bug #25572
closed
wrong line height for the linecounter
Added by Stefan Froemken almost 15 years ago.
Updated about 6 years ago.
Assignee:
Administrator Admin
Description
Let's have a look at the picture t3editor.png and you will see, that the 7th line is one the same height than the 6th line of written code.
(issue imported from #M12774)
There is a dependancy on the browser/OS combination.
On Mac with Firefox it is ok
On Mac with Safari and on Windows with all browsers the line spacing of the numbering does not match the line spacing of the code in the t3editor. See file t3editor.jpg for a comparison (10 lines of code shown for each combination, numering ranges from 1-10 to 1-12
The height of .t3e_linenum dt (t3editor.css: 13px) has to match the line-height of .editbox (t3editor_inner.css), which is not set. Attached patch 12774.diff sets the the line-height to 13px.
I would prefer a line-height of 14px or more for better readability, see patch 12774v2.diff...
Sorry, bug_13630.diff doesn't belong here. Please delete if possible.
i've updated the codemirror library, which now supports linenumbers by itself. It should work much better now.
Please check if your issue is solved in TYPO3-4.4beta2. Thanks.
Looks good in TYPO3-4.4beta3. :-)
- Project changed from 75 to TYPO3 Core
- Target version deleted (
0)
- Status changed from Resolved to Closed
Also available in: Atom
PDF