From d10a3d8bbad9efec53b372c1962cf8e1eab9d7ce Mon Sep 17 00:00:00 2001 From: Geido <60598000+geido@users.noreply.github.com> Date: Tue, 22 Mar 2022 19:34:49 +0200 Subject: [PATCH] fix: Logo resizing on page load (#19307) * fix resizing logo * Refactor --- superset-frontend/src/assets/stylesheets/superset.less | 1 + superset-frontend/src/views/components/Menu.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/assets/stylesheets/superset.less b/superset-frontend/src/assets/stylesheets/superset.less index ecfdd017f..97db49ec4 100644 --- a/superset-frontend/src/assets/stylesheets/superset.less +++ b/superset-frontend/src/assets/stylesheets/superset.less @@ -545,6 +545,7 @@ td.filtered { display: flex; flex-direction: column; justify-content: center; + display: none; } // Making native radio buttons use brand color diff --git a/superset-frontend/src/views/components/Menu.tsx b/superset-frontend/src/views/components/Menu.tsx index 8f6e4a678..55d929e7b 100644 --- a/superset-frontend/src/views/components/Menu.tsx +++ b/superset-frontend/src/views/components/Menu.tsx @@ -103,7 +103,6 @@ const StyledHeader = styled.header` theme.gridUnit * 4 }px`}; max-width: ${({ theme }) => `${theme.gridUnit * 37}px`}; - img { height: 100%; object-fit: contain;