Bug 23899 - Cannot change size of Show SQL Code box on run report page (Chromium)
Summary: Cannot change size of Show SQL Code box on run report page (Chromium)
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-25 12:43 UTC by Andrew Fuerste-Henry
Modified: 2024-12-23 08:06 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2019-10-25 12:43:09 UTC
To test:
- run a report
- click "Show SQL Code"
- try to use the little tab at the bottom right of the code box to resize the box
- the little tab doesn't work!

This is a pretty minor annoyance, but the box does default to being pretty large.
I see that the div CodeMirror-Scroll has its height set to 100%. If I change that in the inspector to something defined in pixels then the little tab works to change the size in the page.
Comment 1 Katrin Fischer 2019-11-02 22:57:42 UTC
The little tab does work for me in master in Firefox, but not in Chromium. 
Same for the box on "edit report".
Comment 2 Jonathan Druart 2019-11-11 16:22:23 UTC
See https://github.com/codemirror/CodeMirror/issues/850

There is code we could take from https://codepen.io/sakifargo/pen/KodNyR
Comment 3 Katrin Fischer 2023-12-09 12:18:47 UTC
It does work for me now in Chromium - I assume the bug in Code Mirror might have been fixed since.