瀏覽代碼

update: content style

dev
powersir 1 年之前
父節點
當前提交
966e4549b7
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      src/components/draggable-tab/index.tsx
  2. +1
    -1
      src/layout/content/index.tsx

+ 1
- 0
src/components/draggable-tab/index.tsx 查看文件

@@ -80,6 +80,7 @@ const DraggableTab: React.FC<TabsProps & { onItemsChange?: (items: any[]) => voi
)}
{...props}
items={items}
tabBarStyle={{ marginBottom: 8 }}
className='tab-layout'
/>
);


+ 1
- 1
src/layout/content/index.tsx 查看文件

@@ -18,7 +18,7 @@ const Content: FC<any> = ({ children }) => {
style={{
borderRadius: '8px',
marginLeft: collapsed ? 100 : defaultSetting.slideWidth,
minHeight: 'calc(100vh - 80px)',
minHeight: 'calc(100vh - 60px)',
transition: "all 200ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
width: `calc(100vw - ${isPC ? collapsed ? 100 : defaultSetting.slideWidth : 32}px)`
}}


Loading…
取消
儲存