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')}
|
||||
isIndeterminate={isProcessing && !currentStatusHasSteps}
|
||||
height={PROGRESS_BAR_THICKNESS}
|
||||
zIndex={99}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
@ -44,7 +44,6 @@ const FloatingGalleryButton = () => {
|
||||
pos: 'absolute',
|
||||
top: '50%',
|
||||
transform: 'translate(0, -50%)',
|
||||
zIndex: 31,
|
||||
p: 0,
|
||||
insetInlineEnd: 0,
|
||||
px: 3,
|
||||
|
@ -73,7 +73,6 @@ const FloatingParametersPanelButtons = () => {
|
||||
<Flex
|
||||
pos="absolute"
|
||||
transform="translate(0, -50%)"
|
||||
zIndex={20}
|
||||
minW={8}
|
||||
top="50%"
|
||||
insetInlineStart="4.5rem"
|
||||
|
@ -142,7 +142,7 @@ const ResizableDrawer = ({
|
||||
direction={slideDirection}
|
||||
in={isOpen}
|
||||
motionProps={{ initial: false }}
|
||||
style={{ zIndex: 99, width: 'full' }}
|
||||
style={{ width: 'full' }}
|
||||
>
|
||||
<Box
|
||||
ref={outsideClickRef}
|
||||
|
Loading…
Reference in New Issue
Block a user