eschutho commented on code in PR #36010:
URL: https://github.com/apache/superset/pull/36010#discussion_r2496693785


##########
superset-frontend/src/features/home/Menu.tsx:
##########
@@ -41,110 +41,163 @@ interface MenuProps {
 }
 
 const StyledHeader = styled.header`
-  ${({ theme }) => `
-      background-color: ${theme.colorBgContainer};
-      border-bottom: 1px solid ${theme.colorBorderSecondary};
-      z-index: 10;
+  ${({ theme }) => css`
+    background-color: ${theme.colorBgContainer};
+    border-bottom: 1px solid ${theme.colorBorderSecondary};
+    padding: 0 ${theme.sizeUnit * 4}px;
+    z-index: 10;
+
+    &:nth-last-of-type(2) nav {
+      margin-bottom: 2px;
+    }
+
+    .caret {
+      display: none;
+    }
+  `}
+`;
 
-      &:nth-last-of-type(2) nav {
-        margin-bottom: 2px;
+const StyledBrandText = styled.div`
+  ${({ theme }) => css`
+    border-left: 1px solid ${theme.colorBorderSecondary};
+    border-right: 1px solid ${theme.colorBorderSecondary};
+    height: 100%;
+    color: ${theme.colorText};
+    padding-left: ${theme.sizeUnit * 4}px;
+    padding-right: ${theme.sizeUnit * 4}px;
+    margin-right: ${theme.sizeUnit * 6}px;
+    font-size: ${theme.fontSizeLG}px;
+    float: left;
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+
+    span {
+      max-width: ${theme.sizeUnit * 58}px;
+      white-space: nowrap;
+      overflow: hidden;
+      text-overflow: ellipsis;
+    }
+
+    @media (max-width: 1127px) {
+      display: none;
+    }
+  `}
+`;
+
+const StyledMainNav = styled(MainNav)`
+  ${({ theme }) => css`
+    .ant-menu-item .ant-menu-item-icon + span,
+    .ant-menu-submenu-title .ant-menu-item-icon + span,
+    .ant-menu-item .anticon + span,
+    .ant-menu-submenu-title .anticon + span {
+      margin-inline-start: 0;
+    }
+
+    @media (max-width: 767px) {

Review Comment:
   yey, responsive!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to