You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2026/04/10 00:06:40 UTC

(superset) branch dashboard-filter-scroll created (now 71cccfc6a00)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch dashboard-filter-scroll
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 71cccfc6a00 fix(dashboard): prevent horizontal overflow when filter bar is open

This branch includes the following new commits:

     new 71cccfc6a00 fix(dashboard): prevent horizontal overflow when filter bar is open

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: fix(dashboard): prevent horizontal overflow when filter bar is open

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch dashboard-filter-scroll
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 71cccfc6a000cb33bcd4809c9e47701b2777f442
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu Apr 9 16:10:31 2026 +0000

    fix(dashboard): prevent horizontal overflow when filter bar is open
    
    The dashboard content grid item had the default `min-width: auto`,
    which prevented it from shrinking below its content's intrinsic width.
    When the vertical filter bar was open, this caused the content area to
    overflow and produce an unwanted horizontal scrollbar. Adding
    `min-width: 0` to StyledContent allows the grid item to properly shrink
    within the `auto 1fr` grid layout.
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
 .../src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
index a507c65318d..8d192e5de63 100644
--- a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
+++ b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
@@ -119,6 +119,7 @@ const StyledContent = styled.div<{
 }>`
   grid-column: 2;
   grid-row: 2;
+  min-width: 0;
   // @z-index-above-dashboard-header (100) + 1 = 101
   ${({ fullSizeChartId }) => fullSizeChartId && `z-index: 101;`}
 `;