🐛 Fix alignment from organization and team selector

This commit is contained in:
Marina López 2026-07-27 13:27:56 +02:00
parent 7674229a5b
commit 0c02121d5d
2 changed files with 2 additions and 11 deletions

View File

@ -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)}

View File

@ -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);