Skip to content

Commit bfb3ebc

Browse files
committed
Expand chart area when sidebar hidden
1 parent 5116f0d commit bfb3ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ function App() {
400400
)}
401401

402402
<section
403-
className="xl:col-span-4"
403+
className={sidebarVisible ? 'xl:col-span-4' : 'xl:col-span-5'}
404404
role="region"
405405
aria-label="图表显示区域"
406406
>

0 commit comments

Comments
 (0)