fix(ui): revert offset scrollbars

The wonky padding is too janky. Just overlay for now.
This commit is contained in:
psychedelicious
2023-06-14 13:33:54 +10:00
parent ade4ec5fd8
commit 2cee8bebb2
5 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ const ParametersPinnedWrapper = (props: ParametersPinnedWrapperProps) => {
</Flex>
<PinParametersPanelButton
sx={{ position: 'absolute', top: 0, insetInlineEnd: 2 }}
sx={{ position: 'absolute', top: 0, insetInlineEnd: 0 }}
/>
</Box>
);

View File

@@ -26,7 +26,7 @@ const ImageToImageTab = () => {
}, []);
return (
<Flex sx={{ gap: 2, w: 'full', h: 'full' }}>
<Flex sx={{ gap: 4, w: 'full', h: 'full' }}>
<ParametersPinnedWrapper>
<ImageToImageTabParameters />
</ParametersPinnedWrapper>

View File

@@ -6,7 +6,7 @@ import TextToImageTabParameters from './TextToImageTabParameters';
const TextToImageTab = () => {
return (
<Flex sx={{ gap: 2, w: 'full', h: 'full' }}>
<Flex sx={{ gap: 4, w: 'full', h: 'full' }}>
<ParametersPinnedWrapper>
<TextToImageTabParameters />
</ParametersPinnedWrapper>

View File

@@ -6,7 +6,7 @@ import UnifiedCanvasParameters from './UnifiedCanvasParameters';
const UnifiedCanvasTab = () => {
return (
<Flex sx={{ gap: 2, w: 'full', h: 'full' }}>
<Flex sx={{ gap: 4, w: 'full', h: 'full' }}>
<ParametersPinnedWrapper>
<UnifiedCanvasParameters />
</ParametersPinnedWrapper>