Actions
Bug #99877
closedcodemirror editor in backend modals needs proper dimensions
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-02-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem¶
The codemirror editor within a backend modal has no proper dimensions. An backend user has two scrollbars. one of modal-body and one of the code-mirror.
In such scenario – especially on OS where scrollbars are "hidden" – an user can not consume the whole editor content (e.g. TypoScript, TSconfig, ...).
How to test?¶
Test within e.g. TypoScript module
- Open TypoScript
- Switch to Active TypoScript submodule
- Click on any "Show Code" button which shows more code lines then the height of the modal (more than 1000px to get a good view on the problem)
Suggested solution¶
Size the codemirror editor to the height of the modal body like shown in the following screenshot
I'm not sure if this small CSS adjustment is the correct solution.
Files
Actions