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 ??
|
initialWidth ??
|
||||||
minWidth ??
|
minWidth ??
|
||||||
(['left', 'right'].includes(direction) ? 500 : '100vw'),
|
(['left', 'right'].includes(direction) ? 500 : '100%'),
|
||||||
[initialWidth, minWidth, direction]
|
[initialWidth, minWidth, direction]
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ const ResizableDrawer = ({
|
|||||||
() =>
|
() =>
|
||||||
initialHeight ??
|
initialHeight ??
|
||||||
minHeight ??
|
minHeight ??
|
||||||
(['top', 'bottom'].includes(direction) ? 500 : '100vh'),
|
(['top', 'bottom'].includes(direction) ? 500 : '100%'),
|
||||||
[initialHeight, minHeight, direction]
|
[initialHeight, minHeight, direction]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -68,7 +68,8 @@ const Scrollable = ({ children }: ScrollableProps) => {
|
|||||||
sx={{
|
sx={{
|
||||||
...scrollShadowBaseStyles,
|
...scrollShadowBaseStyles,
|
||||||
bottom: 0,
|
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>
|
||||||
<Box
|
<Box
|
||||||
@ -76,7 +77,8 @@ const Scrollable = ({ children }: ScrollableProps) => {
|
|||||||
sx={{
|
sx={{
|
||||||
...scrollShadowBaseStyles,
|
...scrollShadowBaseStyles,
|
||||||
top: 0,
|
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>
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user