From 9561a4978f6ffbaf319f2dccecc98f1626f7a1a7 Mon Sep 17 00:00:00 2001 From: dan <172324610+danielsiemens@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:30:15 -0700 Subject: [PATCH] fix: workspace selector positioning (#338) --- .../WorkspaceSelector/workspace-selector.css | 8 ++++++++ .../navigation/GlobalNavigation/global-navigation.css | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/src/components/navigation/GlobalNavigation/WorkspaceSelector/workspace-selector.css b/src/components/navigation/GlobalNavigation/WorkspaceSelector/workspace-selector.css index 5b176da1d..a763cd5eb 100644 --- a/src/components/navigation/GlobalNavigation/WorkspaceSelector/workspace-selector.css +++ b/src/components/navigation/GlobalNavigation/WorkspaceSelector/workspace-selector.css @@ -34,6 +34,14 @@ .workspaceSelector__avatar { color: white !important; + top: 1px; + margin-top: 2px; +} + +.workspaceSelector__label { + position: relative; + top: 2px; + padding-top: var(--padding-xxs); } .workspaceSelector__popover { diff --git a/src/components/navigation/GlobalNavigation/global-navigation.css b/src/components/navigation/GlobalNavigation/global-navigation.css index 7b8c9b0a3..d61123545 100644 --- a/src/components/navigation/GlobalNavigation/global-navigation.css +++ b/src/components/navigation/GlobalNavigation/global-navigation.css @@ -1,5 +1,6 @@ :root { --nav-item-height: 56px; + --nav-item-height-large: 94px; --nav-item-width: 82px; --nav-width: 90px; --suite-logo-height: 82px; @@ -92,6 +93,10 @@ cursor: revert !important; } +.globalNavigation__item.workspaceSelector__menuItem{ + height: var(--nav-item-height-large) !important; +} + .globalNavigation__item .ant-menu-title-content { text-wrap: normal; margin-inline-start: 0 !important;