Browse Source

update: content style

dev
powersir 1 year ago
parent
commit
966e4549b7
2 changed files with 2 additions and 1 deletions
  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 View File

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


+ 1
- 1
src/layout/content/index.tsx View File

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


Loading…
Cancel
Save