You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/09/11 12:07:10 UTC

[incubator-superset] 12/34: fix: layout flexiness (#10681)

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

villebro pushed a commit to branch 0.38
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit b85b27739312f6d7b2011e2a296e246cfbc2c2df
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Wed Aug 26 09:49:58 2020 -0700

    fix: layout flexiness (#10681)
---
 superset-frontend/src/components/Menu/SubMenu.tsx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/superset-frontend/src/components/Menu/SubMenu.tsx b/superset-frontend/src/components/Menu/SubMenu.tsx
index f71efd4..7a67202 100644
--- a/superset-frontend/src/components/Menu/SubMenu.tsx
+++ b/superset-frontend/src/components/Menu/SubMenu.tsx
@@ -23,6 +23,11 @@ import Button, { OnClickHandler } from 'src/components/Button';
 
 const StyledHeader = styled.header`
   margin-top: -20px;
+  display: flex;
+  justify-content: space-between;
+  & > * {
+    flex-grow: 1;
+  }
   .navbar-header .navbar-brand {
     font-weight: ${({ theme }) => theme.typography.weights.bold};
   }