From effd71709457ff9695462af270c5711db84b4589 Mon Sep 17 00:00:00 2001 From: Kasia Kucharczyk <2536609+kkucharc@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:32:34 +0100 Subject: [PATCH] [12601] Hovered menu items on dashboard - brought back padding and added margin on top of chart (#12603) --- superset-frontend/src/dashboard/components/DashboardBuilder.jsx | 2 +- superset-frontend/src/dashboard/stylesheets/hover-menu.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder.jsx b/superset-frontend/src/dashboard/components/DashboardBuilder.jsx index aad5c41509..2c9ba0c905 100644 --- a/superset-frontend/src/dashboard/components/DashboardBuilder.jsx +++ b/superset-frontend/src/dashboard/components/DashboardBuilder.jsx @@ -93,7 +93,7 @@ const StyledDashboardContent = styled.div` width: 100%; flex-grow: 1; position: relative; - margin: ${({ theme }) => theme.gridUnit * 2}px + margin: ${({ theme }) => theme.gridUnit * 6}px ${({ theme }) => theme.gridUnit * 8}px ${({ theme }) => theme.gridUnit * 6}px ${({ theme, dashboardFiltersOpen }) => { diff --git a/superset-frontend/src/dashboard/stylesheets/hover-menu.less b/superset-frontend/src/dashboard/stylesheets/hover-menu.less index 8953ce08c3..41ce575eea 100644 --- a/superset-frontend/src/dashboard/stylesheets/hover-menu.less +++ b/superset-frontend/src/dashboard/stylesheets/hover-menu.less @@ -28,6 +28,7 @@ top: 50%; transform: translate(0, -50%); left: -28px; + padding: 8px 0; display: flex; flex-direction: column; justify-content: center;