💄 style(sidebar): Add `minWidth` to DraggablePanelContainer
parent
3ff8610f9a
commit
8c6f9da5ee
File diff suppressed because one or more lines are too long
|
|
@ -62,7 +62,11 @@ const ExtraNetworkSidebar = memo<ExtraNetworkSidebarProps>(({ headerHeight }) =>
|
|||
<LayoutSidebarInner>
|
||||
<DraggablePanelContainer
|
||||
className={styles.container}
|
||||
style={mode === 'float' ? { background: theme.colorBgContainer } : {}}
|
||||
style={
|
||||
mode === 'float' ?
|
||||
{ background: theme.colorBgContainer, minWidth: setting.extraNetworkSidebarWidth } :
|
||||
{ minWidth: setting.extraNetworkSidebarWidth }
|
||||
}
|
||||
>
|
||||
<DraggablePanelHeader
|
||||
pin={pin}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,11 @@ const QuickSettingSidebar = memo<QuickSettingSidebarProps>(({ headerHeight }) =>
|
|||
<LayoutSidebarInner>
|
||||
<DraggablePanelContainer
|
||||
className={styles.container}
|
||||
style={mode === 'float' ? { background: theme.colorBgContainer } : {}}
|
||||
style={
|
||||
mode === 'float' ?
|
||||
{ background: theme.colorBgContainer, minWidth: setting.sidebarWidth } :
|
||||
{ minWidth: setting.sidebarWidth }
|
||||
}
|
||||
>
|
||||
<DraggablePanelHeader
|
||||
pin={pin}
|
||||
|
|
|
|||
Loading…
Reference in New Issue