fix master detail
This commit is contained in:
parent
d333d838c1
commit
12f6164682
|
|
@ -1,7 +1,6 @@
|
||||||
import { useLocal } from "@/utils/use-local";
|
import { useLocal } from "@/utils/use-local";
|
||||||
import { FC, ReactNode, useEffect } from "react";
|
import { FC, ReactNode } from "react";
|
||||||
import { Skeleton } from "../ui/skeleton";
|
import { Skeleton } from "../ui/skeleton";
|
||||||
import { MDLocal } from "../md/utils/typings";
|
|
||||||
|
|
||||||
export type BreadItem = {
|
export type BreadItem = {
|
||||||
label: React.ReactNode;
|
label: React.ReactNode;
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ export const MasterDetail: FC<{
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cx(
|
className={cx(
|
||||||
"c-flex-1 c-flex-col c-flex c-w-full c-h-full c-overflow-hidden"
|
"c-flex-1 c-flex-col c-flex c-w-full c-h-full c-overflow-hidden",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{md.props.show_head === "always" && (
|
{md.props.show_head === "always" && (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue