diff --git a/packages/bruno-app/src/components/RequestTabPanel/index.js b/packages/bruno-app/src/components/RequestTabPanel/index.js index f719eb0f3..09bd673bd 100644 --- a/packages/bruno-app/src/components/RequestTabPanel/index.js +++ b/packages/bruno-app/src/components/RequestTabPanel/index.js @@ -19,8 +19,8 @@ import { DocExplorer } from '@usebruno/graphql-docs'; import StyledWrapper from './StyledWrapper'; -const MIN_LEFT_PANE_WIDTH = 300; -const MIN_RIGHT_PANE_WIDTH = 350; +const MIN_LEFT_PANE_WIDTH = 100; +const MIN_RIGHT_PANE_WIDTH = 220; const DEFAULT_PADDING = 5; const RequestTabPanel = () => { @@ -68,6 +68,8 @@ const RequestTabPanel = () => { const handleMouseMove = (e) => { if (dragging) { + console.log(asideWidth + DEFAULT_PADDING + MIN_LEFT_PANE_WIDTH); + console.log(e.clientX + 2); e.preventDefault(); let leftPaneXPosition = e.clientX + 2; if ( diff --git a/packages/bruno-app/src/components/Sidebar/index.js b/packages/bruno-app/src/components/Sidebar/index.js index 1ac6509b8..65294fd83 100644 --- a/packages/bruno-app/src/components/Sidebar/index.js +++ b/packages/bruno-app/src/components/Sidebar/index.js @@ -12,7 +12,7 @@ import { IconSettings, IconCookie, IconHeart } from '@tabler/icons'; import { updateLeftSidebarWidth, updateIsDragging, showPreferences } from 'providers/ReduxStore/slices/app'; import { useTheme } from 'providers/Theme'; -const MIN_LEFT_SIDEBAR_WIDTH = 221; +const MIN_LEFT_SIDEBAR_WIDTH = 150; const MAX_LEFT_SIDEBAR_WIDTH = 600; const Sidebar = () => { diff --git a/packages/bruno-electron/src/index.js b/packages/bruno-electron/src/index.js index 52afec0a8..40bc7a56d 100644 --- a/packages/bruno-electron/src/index.js +++ b/packages/bruno-electron/src/index.js @@ -44,7 +44,6 @@ app.on('ready', async () => { y, width, height, - minWidth: 1000, minHeight: 640, webPreferences: { nodeIntegration: true,