From 0c02121d5dde649ca7cee08b41d58f9cf6a5b722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20L=C3=B3pez?= Date: Mon, 27 Jul 2026 13:27:56 +0200 Subject: [PATCH] :bug: Fix alignment from organization and team selector --- frontend/src/app/main/ui/dashboard/sidebar.cljs | 5 ++--- frontend/src/app/main/ui/dashboard/sidebar.scss | 8 -------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/frontend/src/app/main/ui/dashboard/sidebar.cljs b/frontend/src/app/main/ui/dashboard/sidebar.cljs index 34df0c491a..04df6cd534 100644 --- a/frontend/src/app/main/ui/dashboard/sidebar.cljs +++ b/frontend/src/app/main/ui/dashboard/sidebar.cljs @@ -349,7 +349,7 @@ [:> dropdown-menu-item* {:on-click on-org-click :data-value default-team-id - :class (stl/css :org-dropdown-item :org-dropdown-item-default-logo)} + :class (stl/css :org-dropdown-item)} [:span {:class (stl/css :my-teams-icon)} [:> raw-svg* {:id penpot-logo-icon-subtle}]] [:span {:class (stl/css :team-text) @@ -791,8 +791,7 @@ :on-key-down on-show-orgs-keydown :aria-expanded show-orgs-menu? :aria-haspopup "menu"} - [:div {:class (stl/css-case :team-name true - :team-name-default-logo default-org?)} + [:div {:class (stl/css :team-name)} (if default-org? [:* [:span {:class (stl/css :my-teams-icon-xxxl)} diff --git a/frontend/src/app/main/ui/dashboard/sidebar.scss b/frontend/src/app/main/ui/dashboard/sidebar.scss index 0d9223bc77..f1cafcfe9a 100644 --- a/frontend/src/app/main/ui/dashboard/sidebar.scss +++ b/frontend/src/app/main/ui/dashboard/sidebar.scss @@ -109,10 +109,6 @@ grid-template-columns: 1fr; } -.team-name-default-logo { - gap: var(--sp-xs); -} - .team-text { @include deprecated.text-ellipsis; @include t.use-typography("title-small"); @@ -210,10 +206,6 @@ padding-inline-start: var(--sp-m); } -.org-dropdown-item-default-logo { - gap: var(--sp-xs); -} - .action { --sidebar-action-icon-color: var(--icon-foreground); --sidebar-icon-backgroun-color: var(--color-background-secondary);