mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: some sizing
This commit is contained in:
1 parent
e3c1306ef3
commit
559f3edd06
2 files changed
+8
-3
No files matched your search
@@ -5,11 +5,15 @@ interface BlitzKitThemeProps extends ThemeProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export function BlitzKitTheme({ children, ...props }: BlitzKitThemeProps) {
|
||||
export function BlitzKitTheme({
|
||||
children,
|
||||
style,
|
||||
...props
|
||||
}: BlitzKitThemeProps) {
|
||||
return (
|
||||
<Theme
|
||||
grayColor="mauve"
|
||||
style={{ minHeight: 'unset' }}
|
||||
style={{ minHeight: 'unset', ...style }}
|
||||
appearance="dark"
|
||||
panelBackground="solid"
|
||||
radius="full"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Flex, type FlexProps, Theme } from '@radix-ui/themes';
|
||||
import type { ComponentProps } from 'react';
|
||||
import { NAVBAR_HEIGHT } from '../constants/navbar';
|
||||
import type { RadixSize } from '../stores/embedState';
|
||||
import { BlitzKitTheme } from './BlitzKitTheme';
|
||||
|
||||
@@ -29,8 +30,8 @@ export function PageWrapper({
|
||||
style={{
|
||||
flex: noFlex1 ? undefined : 1,
|
||||
display: 'flex',
|
||||
minHeight: `calc(100dvh - ${NAVBAR_HEIGHT}px)`,
|
||||
flexDirection: 'column',
|
||||
minHeight: 'unset',
|
||||
...containerProps?.style,
|
||||
}}
|
||||
{...containerProps}
|
||||
|
||||
Reference in new issue
Block a user