fix: 添加width:100%确保右列正确填充
This commit is contained in:
parent
5515cad8f8
commit
0de202d87c
@ -317,7 +317,7 @@ export default function Devices() {
|
||||
];
|
||||
|
||||
return (
|
||||
<div style={{ display: 'flex', gap: 16, height: '100%', overflow: 'hidden' }}>
|
||||
<div style={{ display: 'flex', gap: 16, height: '100%', width: '100%', overflow: 'hidden' }}>
|
||||
{/* 左列:组织架构树 */}
|
||||
<div style={{ width: 300, flexShrink: 0, background: 'var(--color-bg-2)', borderRadius: 8, padding: 16, overflow: 'auto' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12 }}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user