mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
✨ Switch team clicking in the whole selector
This commit is contained in:
parent
40240d294a
commit
4c1150bf78
2 changed files with 3 additions and 3 deletions
|
@ -77,6 +77,7 @@
|
|||
}
|
||||
|
||||
.current-team {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
font-size: $fs14;
|
||||
|
@ -118,7 +119,6 @@
|
|||
.switch-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
|
||||
svg {
|
||||
width: 10px;
|
||||
|
|
|
@ -322,7 +322,7 @@
|
|||
|
||||
[:div.sidebar-team-switch
|
||||
[:div.switch-content
|
||||
[:div.current-team
|
||||
[:div.current-team {:on-click #(reset! show-teams-ddwn? true)}
|
||||
(if (:is-default team)
|
||||
[:div.team-name
|
||||
[:span.team-icon i/logo-icon]
|
||||
|
@ -332,7 +332,7 @@
|
|||
[:img {:src (cfg/resolve-media-path (:photo team))}]]
|
||||
[:span.team-text {:title (:name team)} (:name team)]])
|
||||
|
||||
[:span.switch-icon {:on-click #(reset! show-teams-ddwn? true)}
|
||||
[:span.switch-icon
|
||||
i/arrow-down]]
|
||||
|
||||
(when-not (:is-default team)
|
||||
|
|
Loading…
Add table
Reference in a new issue