Commit 3f4ff292 authored by tom's avatar tom

Merge branch 'main' of github.com:tom2drum/block-scout into up-chakra-version

parents 030cf301 f258fd38
......@@ -8,9 +8,16 @@ const baseStyleDialog: SystemStyleFunction = (props) => {
padding: 8,
borderRadius: 'lg',
bg: mode('white', 'gray.900')(props),
margin: 'auto',
};
};
const baseStyleDialogContainer = {
'::-webkit-scrollbar': { display: 'none' },
'scrollbar-width': 'none',
'@supports (height: -webkit-fill-available)': { height: '100vh' },
};
const baseStyleHeader: SystemStyleFunction = (props) => ({
padding: 0,
marginBottom: 8,
......@@ -46,6 +53,7 @@ const baseStyleOverlay = {
const baseStyle: PartsStyleFunction<typeof parts> = (props) => ({
dialog: baseStyleDialog(props),
dialogContainer: baseStyleDialogContainer,
header: baseStyleHeader(props),
body: baseStyleBody,
footer: baseStyleFooter,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment