From 12e58fc56d1a5b5646a47422c5e9fe3652a2fabb Mon Sep 17 00:00:00 2001 From: Kasia Kucharczyk Date: Wed, 13 Jan 2021 17:09:19 +0100 Subject: [PATCH 1/3] [12481] Moved left dashboard menu to be not truncated on left side --- superset-frontend/src/dashboard/stylesheets/hover-menu.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/stylesheets/hover-menu.less b/superset-frontend/src/dashboard/stylesheets/hover-menu.less index e3bcb40f9636e..6ea4ec69a9970 100644 --- a/superset-frontend/src/dashboard/stylesheets/hover-menu.less +++ b/superset-frontend/src/dashboard/stylesheets/hover-menu.less @@ -28,7 +28,7 @@ top: 50%; transform: translate(0, -50%); left: -24px; - padding: 8px 0; + padding: 8px 0 8px 8px; display: flex; flex-direction: column; justify-content: center; From 5772981b0ed80ec55c1d3da9b28aa2b86335b41b Mon Sep 17 00:00:00 2001 From: Kasia Kucharczyk Date: Wed, 13 Jan 2021 17:43:51 +0100 Subject: [PATCH 2/3] [12481] Added left margin to dashboard to be same as right one --- superset-frontend/src/dashboard/components/DashboardBuilder.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder.jsx b/superset-frontend/src/dashboard/components/DashboardBuilder.jsx index 861f3ad7c7b1e..aad5c41509ca4 100644 --- a/superset-frontend/src/dashboard/components/DashboardBuilder.jsx +++ b/superset-frontend/src/dashboard/components/DashboardBuilder.jsx @@ -97,7 +97,7 @@ const StyledDashboardContent = styled.div` ${({ theme }) => theme.gridUnit * 8}px ${({ theme }) => theme.gridUnit * 6}px ${({ theme, dashboardFiltersOpen }) => { - if (dashboardFiltersOpen) return theme.gridUnit * 4; + if (dashboardFiltersOpen) return theme.gridUnit * 8; return 0; }}px; } From 5fdbd57260ba1be76ec5faee4871c68a9b35ef31 Mon Sep 17 00:00:00 2001 From: Kasia Kucharczyk Date: Fri, 15 Jan 2021 17:53:50 +0100 Subject: [PATCH 3/3] [12481] Cenetered row menu icons and removed padding --- superset-frontend/src/dashboard/stylesheets/hover-menu.less | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset-frontend/src/dashboard/stylesheets/hover-menu.less b/superset-frontend/src/dashboard/stylesheets/hover-menu.less index 6ea4ec69a9970..8953ce08c3e2b 100644 --- a/superset-frontend/src/dashboard/stylesheets/hover-menu.less +++ b/superset-frontend/src/dashboard/stylesheets/hover-menu.less @@ -27,8 +27,7 @@ width: 24px; top: 50%; transform: translate(0, -50%); - left: -24px; - padding: 8px 0 8px 8px; + left: -28px; display: flex; flex-direction: column; justify-content: center;