diff --git a/packages/design/src/modules/dashboard/index.tsx b/packages/design/src/modules/dashboard/index.tsx index 5fe95bd..42c0254 100644 --- a/packages/design/src/modules/dashboard/index.tsx +++ b/packages/design/src/modules/dashboard/index.tsx @@ -6,12 +6,12 @@ import { Header } from '../header'; import { Sketch } from '../sketch'; import type { CSSProperties } from 'react'; import { createPrefixName } from '../../css'; -import { HEADER_HEIGHT } from './layout'; import SplitPane from '../split-pane'; const modName = 'mod-dashboard'; const leftSiderDefaultWidth = 240; const rightSiderDefaultWidth = 200; +const headerHeight = 36; const prefixName = createPrefixName(modName); @@ -48,10 +48,10 @@ export const Dashboard = (props: DashboardProps) => { return (
-
+
-
+
{ width: centerWidth + rightWidth }} > -
- -
+
{openLeftSider && }
- -
+ +
Right
diff --git a/packages/design/src/modules/dashboard/layout.ts b/packages/design/src/modules/dashboard/layout.ts deleted file mode 100644 index 25d7a30..0000000 --- a/packages/design/src/modules/dashboard/layout.ts +++ /dev/null @@ -1 +0,0 @@ -export const HEADER_HEIGHT = 36;