修复导致 admin page 样式错位的问题
This commit is contained in:
@@ -7,12 +7,7 @@ export type PageProps = {
|
|||||||
|
|
||||||
export default function Page(props: ComponentProps<'main'> & PageProps) {
|
export default function Page(props: ComponentProps<'main'> & PageProps) {
|
||||||
return (
|
return (
|
||||||
<main
|
<main {...props} className={merge(`relative size-full`)}>
|
||||||
{...props}
|
|
||||||
className={merge(
|
|
||||||
`relative size-full`,
|
|
||||||
props.className,
|
|
||||||
)}>
|
|
||||||
|
|
||||||
{/* background */}
|
{/* background */}
|
||||||
<div className="absolute inset-0 overflow-hidden">
|
<div className="absolute inset-0 overflow-hidden">
|
||||||
|
|||||||
Reference in New Issue
Block a user