mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix shadow
This commit is contained in:
parent
5cf8e3aa53
commit
caecfadf11
@ -74,7 +74,7 @@ const ResizableDrawer = ({
|
||||
() =>
|
||||
initialWidth ??
|
||||
minWidth ??
|
||||
(['left', 'right'].includes(direction) ? 500 : '100vw'),
|
||||
(['left', 'right'].includes(direction) ? 500 : '100%'),
|
||||
[initialWidth, minWidth, direction]
|
||||
);
|
||||
|
||||
@ -82,7 +82,7 @@ const ResizableDrawer = ({
|
||||
() =>
|
||||
initialHeight ??
|
||||
minHeight ??
|
||||
(['top', 'bottom'].includes(direction) ? 500 : '100vh'),
|
||||
(['top', 'bottom'].includes(direction) ? 500 : '100%'),
|
||||
[initialHeight, minHeight, direction]
|
||||
);
|
||||
|
||||
|
@ -68,7 +68,8 @@ const Scrollable = ({ children }: ScrollableProps) => {
|
||||
sx={{
|
||||
...scrollShadowBaseStyles,
|
||||
bottom: 0,
|
||||
boxShadow: 'inset 0 -5rem 2rem -2rem var(--invokeai-colors-base-900)',
|
||||
boxShadow:
|
||||
'inset 0 -3.5rem 2rem -2rem var(--invokeai-colors-base-900)',
|
||||
}}
|
||||
></Box>
|
||||
<Box
|
||||
@ -76,7 +77,8 @@ const Scrollable = ({ children }: ScrollableProps) => {
|
||||
sx={{
|
||||
...scrollShadowBaseStyles,
|
||||
top: 0,
|
||||
boxShadow: 'inset 0 5rem 2rem -2rem var(--invokeai-colors-base-900)',
|
||||
boxShadow:
|
||||
'inset 0 3.5 rem 2rem -2rem var(--invokeai-colors-base-900)',
|
||||
}}
|
||||
></Box>
|
||||
</Box>
|
||||
|
Loading…
Reference in New Issue
Block a user