mirror of
https://github.com/penpot/penpot.git
synced 2026-07-28 17:06:21 +00:00
🐛 Fix alignment from organization and team selector
This commit is contained in:
parent
7674229a5b
commit
0c02121d5d
@ -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)}
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user