Skip to content

Commit d6fb7a8

Browse files
committed
Update default browser viewport size in BrowserSessionRow component
- Change default viewport size from 1280x800 to 900x600 in BrowserSessionRow - Consistent with recent viewport size updates across the project
1 parent e3d4237 commit d6fb7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/chat/BrowserSessionRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => {
2929
const [maxActionHeight, setMaxActionHeight] = useState(0)
3030
const [consoleLogsExpanded, setConsoleLogsExpanded] = useState(false)
3131

32-
const { browserViewportSize = "1280x800" } = useExtensionState()
32+
const { browserViewportSize = "900x600" } = useExtensionState()
3333
const [viewportWidth, viewportHeight] = browserViewportSize.split("x").map(Number)
3434
const aspectRatio = ((viewportHeight / viewportWidth) * 100).toFixed(2)
3535
const defaultMousePosition = `${Math.round(viewportWidth / 2)},${Math.round(viewportHeight / 2)}`

0 commit comments

Comments
 (0)