Skip to content

Commit

Permalink
use overflow-y: auto
Browse files Browse the repository at this point in the history
  • Loading branch information
konfig-bot committed Oct 24, 2023
1 parent 9c5dcf5 commit bfd0d40
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generator/konfig-next-app/src/components/DemoPortal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const DemoPortal = observer(
width={{ [navbarOffsetBreakpoint]: NAVBAR_WIDTH }}
className={navbar.classes.navbar}
sx={{
overflowY: 'scroll',
overflowY: 'auto',
// height:
// 'calc(100% - var(--mantine-header-height, 0rem) - var(--mantine-footer-height, 0rem));',
}}
Expand Down
2 changes: 1 addition & 1 deletion generator/konfig-next-app/src/components/ExecuteOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function ExecuteOutput({
</Tabs.List>

<Tabs.Panel value="raw">
<Code mah={500} sx={{ overflowY: 'scroll' }} color="gray" block>
<Code mah={500} sx={{ overflowY: 'auto' }} color="gray" block>
{processedOutput}
</Code>
</Tabs.Panel>
Expand Down
2 changes: 1 addition & 1 deletion generator/konfig-next-app/src/components/JsonViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const JsonViewer: typeof ReactJson = (props) => {
fontSize: '0.85rem',
padding: '0.75rem',
maxHeight: '500px',
overflowY: 'scroll',
overflowY: 'auto',
}}
{...props}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const DocumentationPage = observer(
py="xl"
px="md"
sx={{
overflowY: 'scroll',
overflowY: 'auto',
height:
'calc(100% - var(--mantine-header-height, 0rem) - var(--mantine-footer-height, 0rem));',
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const Operation = ({
hidden={!opened}
width={{ lg: NAVBAR_WIDTH }}
sx={{
overflowY: 'scroll',
overflowY: 'auto',
height:
'calc(100% - var(--mantine-header-height, 0rem) - var(--mantine-footer-height, 0rem));',
}}
Expand Down

0 comments on commit bfd0d40

Please sign in to comment.