B: Fix widescreen issue

This commit is contained in:
Ivan 2025-05-13 18:18:59 +03:00
parent b7358d3cc7
commit 8839fc37ea
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export function ApplicationLayout() {
<Navigation /> <Navigation />
<div <div
className='overflow-x-auto max-w-[100vw]' className='overflow-x-auto max-w-[100dvw]'
style={{ maxHeight: viewportHeight }} style={{ maxHeight: viewportHeight }}
inert={activeDialog !== null} inert={activeDialog !== null}
> >

View File

@ -70,7 +70,7 @@ export function DiagramFlow({
return ( return (
<div <div
tabIndex={-1} tabIndex={-1}
className={cn('relative cc-mask-sides w-[100dvw]', spaceMode && 'space-mode', className)} className={cn('relative cc-mask-sides max-w-480 w-[100dvw]', spaceMode && 'space-mode', className)}
style={{ ...style, height: height }} style={{ ...style, height: height }}
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
onKeyUp={handleKeyUp} onKeyUp={handleKeyUp}