mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): excise most zIndex
s
our stacking contexts are accurate, `zIndex` isn't needed
This commit is contained in:
parent
35e0863bdb
commit
032aa1d59c
@ -36,7 +36,6 @@ const ProgressBar = () => {
|
|||||||
aria-label={t('accessibility.invokeProgressBar')}
|
aria-label={t('accessibility.invokeProgressBar')}
|
||||||
isIndeterminate={isProcessing && !currentStatusHasSteps}
|
isIndeterminate={isProcessing && !currentStatusHasSteps}
|
||||||
height={PROGRESS_BAR_THICKNESS}
|
height={PROGRESS_BAR_THICKNESS}
|
||||||
zIndex={99}
|
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -44,7 +44,6 @@ const FloatingGalleryButton = () => {
|
|||||||
pos: 'absolute',
|
pos: 'absolute',
|
||||||
top: '50%',
|
top: '50%',
|
||||||
transform: 'translate(0, -50%)',
|
transform: 'translate(0, -50%)',
|
||||||
zIndex: 31,
|
|
||||||
p: 0,
|
p: 0,
|
||||||
insetInlineEnd: 0,
|
insetInlineEnd: 0,
|
||||||
px: 3,
|
px: 3,
|
||||||
|
@ -73,7 +73,6 @@ const FloatingParametersPanelButtons = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
pos="absolute"
|
pos="absolute"
|
||||||
transform="translate(0, -50%)"
|
transform="translate(0, -50%)"
|
||||||
zIndex={20}
|
|
||||||
minW={8}
|
minW={8}
|
||||||
top="50%"
|
top="50%"
|
||||||
insetInlineStart="4.5rem"
|
insetInlineStart="4.5rem"
|
||||||
|
@ -142,7 +142,7 @@ const ResizableDrawer = ({
|
|||||||
direction={slideDirection}
|
direction={slideDirection}
|
||||||
in={isOpen}
|
in={isOpen}
|
||||||
motionProps={{ initial: false }}
|
motionProps={{ initial: false }}
|
||||||
style={{ zIndex: 99, width: 'full' }}
|
style={{ width: 'full' }}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
ref={outsideClickRef}
|
ref={outsideClickRef}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user