mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Allow bigger code editor / smaller vertical terminal
This commit is contained in:
@@ -88,8 +88,7 @@
|
||||
if (!isResizing) return;
|
||||
const clientY = 'touches' in event ? event.touches[0].clientY : event.clientY;
|
||||
const relativeY = clientY - 50;
|
||||
|
||||
const maxHeight = window.innerHeight - 400;
|
||||
const maxHeight = window.innerHeight - 200;
|
||||
if (relativeY < minHeight) {
|
||||
resizerTopPosition = minHeight;
|
||||
} else if (relativeY > maxHeight) {
|
||||
@@ -97,6 +96,7 @@
|
||||
} else {
|
||||
resizerTopPosition = relativeY;
|
||||
}
|
||||
console.log({ resizerTopPosition });
|
||||
}
|
||||
|
||||
function stopResize() {
|
||||
|
||||
Reference in New Issue
Block a user