mirror of
https://github.com/penpot/penpot.git
synced 2026-03-05 09:41:12 +00:00
✨ Review profile dropdown
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user