Currently the max size of the query editor seems to be at 460px. I personally use my screen in portrait mode so I can see large queries without having to scroll down. Is it possible to increase the max-height property to a higher value/ no limit?
Yes, there’s a limit (can’t remember the exact reason) — I can look into increasing it, might be a very quick and easy fix.
@miguelvalenciav you can follow the PR here: https://github.com/getredash/redash/pull/2518
-
style="min-height: 11px; max-height: 460px;" ng-if="sourceMode">
-
style="min-height: 11px; max-height: 70vh;" ng-if="sourceMode">
Basically I’m increasing it to 70% of viewport height which will be enough hopefully.
Why put a limit on it?
It breaks our layout without a limit as it overlays the bottom control area and shows a scrollbar which we tried to avoid:
I’m not sure how much effort would it take to fix this so that’s why the limit for this quick fix.
I can look into this later but after very quickly playing around it introduces a set of new problems (handle hides below the bottom area, bottom area is not attached to bottom, etc).