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

kgabryje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new d3684c0937 fix(dashboard): Dashboard header overflowing in edit mode 
(#21100)
d3684c0937 is described below

commit d3684c0937cf3f10654d8bba6a859e95d7dba7d8
Author: Kamil Gabryjelski <[email protected]>
AuthorDate: Tue Aug 16 19:08:29 2022 +0200

    fix(dashboard): Dashboard header overflowing in edit mode (#21100)
---
 .../src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx       | 1 +
 superset-frontend/src/dashboard/components/Header/index.jsx              | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
 
b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
index 7ff6432d79..fb062490b3 100644
--- 
a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
+++ 
b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
@@ -149,6 +149,7 @@ const StyledHeader = styled.div`
   position: sticky;
   top: 0;
   z-index: 100;
+  max-width: 100vw;
 `;
 
 const StyledContent = styled.div<{
diff --git a/superset-frontend/src/dashboard/components/Header/index.jsx 
b/superset-frontend/src/dashboard/components/Header/index.jsx
index 46ca4fc703..19b7c21ce2 100644
--- a/superset-frontend/src/dashboard/components/Header/index.jsx
+++ b/superset-frontend/src/dashboard/components/Header/index.jsx
@@ -132,6 +132,7 @@ const actionButtonsStyle = theme => css`
   }
 
   .undoRedo {
+    display: flex;
     margin-right: ${theme.gridUnit * 2}px;
   }
 `;

Reply via email to