Skip to content

Commit e2edb3e

Browse files
committed
fix:fix tabs overflow in dashboards
1 parent c3bb51d commit e2edb3e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,9 @@ const DashboardBuilder = () => {
426426
isReport;
427427

428428
const [barTopOffset, setBarTopOffset] = useState(0);
429-
const [currentFilterBarWidth, setCurrentFilterBarWidth] = useState(0);
429+
const [currentFilterBarWidth, setCurrentFilterBarWidth] = useState(
430+
CLOSED_FILTER_BAR_WIDTH,
431+
);
430432

431433
useEffect(() => {
432434
setBarTopOffset(headerRef.current?.getBoundingClientRect()?.height || 0);

0 commit comments

Comments
 (0)