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

rusackas pushed a commit to branch mobile-dashboard-support
in repository https://gitbox.apache.org/repos/asf/superset.git

commit c80241e52df7368e993cae68d320ee8e340d7b85
Author: Evan Rusackas <[email protected]>
AuthorDate: Fri Jan 9 12:31:12 2026 -0800

    fix(mobile): remove negative margin on mobile dashboard
    
    On mobile, the filter bar is hidden but the -32px margin-left was still
    being applied, causing the dashboard title and Filters button to be cut
    off on the left edge.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude Opus 4.5 <[email protected]>
---
 .../src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
 
b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
index 6ad97aeead..82721d386d 100644
--- 
a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
+++ 
b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
@@ -479,6 +479,7 @@ const DashboardBuilder = () => {
   const draggableStyle = useMemo(
     () => ({
       marginLeft:
+        !isNotMobile ||
         dashboardFiltersOpen ||
         editMode ||
         !nativeFiltersEnabled ||
@@ -487,6 +488,7 @@ const DashboardBuilder = () => {
           : -32,
     }),
     [
+      isNotMobile,
       dashboardFiltersOpen,
       editMode,
       filterBarOrientation,

Reply via email to