fix: 添加width:100%确保右列正确填充

This commit is contained in:
12451 2026-07-02 19:58:43 +08:00
parent 5515cad8f8
commit 0de202d87c

View File

@ -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 }}>