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 />
<div
className='overflow-x-auto max-w-[100vw]'
className='overflow-x-auto max-w-[100dvw]'
style={{ maxHeight: viewportHeight }}
inert={activeDialog !== null}
>

View File

@ -70,7 +70,7 @@ export function DiagramFlow({
return (
<div
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 }}
onKeyDown={handleKeyDown}
onKeyUp={handleKeyUp}