mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): position floating buttons
This commit is contained in:
parent
3651cf7ee2
commit
90abd0fe49
@ -36,7 +36,7 @@ const FloatingGalleryButton = ({
|
||||
transform="translate(0, -50%)"
|
||||
minW={8}
|
||||
top="50%"
|
||||
insetInlineEnd={0}
|
||||
insetInlineEnd="1.63rem"
|
||||
>
|
||||
<IAIIconButton
|
||||
tooltip="Show Gallery (G)"
|
||||
|
@ -44,7 +44,7 @@ const FloatingSidePanelButtons = ({
|
||||
transform="translate(0, -50%)"
|
||||
minW={8}
|
||||
top="50%"
|
||||
insetInlineStart="4.5rem"
|
||||
insetInlineStart="5.13rem"
|
||||
direction="column"
|
||||
gap={2}
|
||||
>
|
||||
|
@ -265,7 +265,7 @@ const InvokeTabs = () => {
|
||||
</Panel>
|
||||
<ResizeHandle
|
||||
onDoubleClick={resetSidePanel}
|
||||
isCollapsed={isSidePanelCollapsed}
|
||||
// isCollapsed={isSidePanelCollapsed}
|
||||
collapsedDirection={isSidePanelCollapsed ? 'left' : undefined}
|
||||
/>
|
||||
<FloatingSidePanelButtons
|
||||
@ -282,8 +282,8 @@ const InvokeTabs = () => {
|
||||
{!NO_GALLERY_TABS.includes(activeTabName) && (
|
||||
<>
|
||||
<ResizeHandle
|
||||
isCollapsed={isGalleryPanelCollapsed}
|
||||
onDoubleClick={resetGalleryPanel}
|
||||
// isCollapsed={isGalleryPanelCollapsed}
|
||||
collapsedDirection={isGalleryPanelCollapsed ? 'right' : undefined}
|
||||
/>
|
||||
<Panel
|
||||
|
Loading…
Reference in New Issue
Block a user