sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.53k stars 724 forks source link

Feature request: resize query window #673

Open Davincible opened 1 year ago

Davincible commented 1 year ago

Recently I've been using the query window a lot, and there are two things that would improve my experience;

1) resizable query window on mouse drag - drag down to expand 2) it's difficult now to click on the last row as the scroll bar pops up

sosedoff commented 1 year ago

Query window is already resizable, so not sure what the problem is - you just need to hover over the horizontal divider line. Regarding your second point - i'm not sure what you mean, perhaps a screenshot is in order?

Davincible commented 1 year ago

Oh you're right. I've been trying to resize from the bottom of the code box instead of the line below the buttons.

As for the second point; if I try to select the code in line 101 and hover over the line I get the scroll bar. I suppose this could be fixed by adding a little margin

image

sosedoff commented 1 year ago

I recommend dropping a few extra blank lines in the query textfield :) On a serious note, i'll see what could be done, maybe adding an extra margin is all that needed.