mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
✨ Review profile dropdown
This commit is contained in:
parent
75b34c9b98
commit
692f84bd14
3 changed files with 12 additions and 4 deletions
|
@ -368,7 +368,7 @@
|
|||
color: $color-black;
|
||||
margin: 10px 5px;
|
||||
font-size: $fs14;
|
||||
max-width: 135px;
|
||||
max-width: 160px;
|
||||
}
|
||||
|
||||
img {
|
||||
|
@ -378,6 +378,13 @@
|
|||
width: 25px;
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 10px;
|
||||
margin-left: auto;
|
||||
margin-right: $small;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
left: 15px;
|
||||
bottom: 45px;
|
||||
|
|
|
@ -154,11 +154,11 @@
|
|||
border-right: 1px solid $color-gray-40;
|
||||
border-top: 1px solid $color-gray-40;
|
||||
position: absolute;
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
transform: rotate(-45deg);
|
||||
top: -1px;
|
||||
left: -5px;
|
||||
left: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -439,6 +439,7 @@
|
|||
[:div.profile-section {:on-click #(reset! show true)}
|
||||
[:img {:src photo}]
|
||||
[:span (:fullname profile)]
|
||||
i/arrow-down
|
||||
|
||||
[:& dropdown {:on-close #(reset! show false)
|
||||
:show @show}
|
||||
|
|
Loading…
Add table
Reference in a new issue