mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
B: Fix widescreen issue
This commit is contained in:
parent
b7358d3cc7
commit
8839fc37ea
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user