mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): prevent canvas & main panel content from scrolling
Hopefully fixes issues where, when run via the launcher, the main panel kinda just scrolls out of bounds.
This commit is contained in:
@@ -57,6 +57,7 @@ export const CanvasMainPanelContent = memo(() => {
|
||||
gap={2}
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
overflow="hidden"
|
||||
>
|
||||
<CanvasManagerProviderGate>
|
||||
<CanvasToolbar />
|
||||
@@ -70,6 +71,7 @@ export const CanvasMainPanelContent = memo(() => {
|
||||
h="full"
|
||||
bg={dynamicGrid ? 'base.850' : 'base.900'}
|
||||
borderRadius="base"
|
||||
overflow="hidden"
|
||||
>
|
||||
<InvokeCanvasComponent />
|
||||
<CanvasManagerProviderGate>
|
||||
|
||||
@@ -46,6 +46,7 @@ export const ImageViewer = memo(({ closeButton }: Props) => {
|
||||
left={0}
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
overflow="hidden"
|
||||
>
|
||||
{hasImageToCompare && <CompareToolbar />}
|
||||
{!hasImageToCompare && <ViewerToolbar closeButton={closeButton} />}
|
||||
|
||||
@@ -117,7 +117,7 @@ export const AppContent = memo(() => {
|
||||
});
|
||||
|
||||
return (
|
||||
<Flex id="invoke-app-tabs" w="full" h="full" gap={4} p={4}>
|
||||
<Flex id="invoke-app-tabs" w="full" h="full" gap={4} p={4} overflow="hidden">
|
||||
<VerticalNavBar />
|
||||
<PanelGroup
|
||||
ref={imperativePanelGroupRef}
|
||||
|
||||
Reference in New Issue
Block a user