0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

Review profile dropdown

This commit is contained in:
elhombretecla 2020-11-05 09:55:35 +01:00
parent 75b34c9b98
commit 692f84bd14
3 changed files with 12 additions and 4 deletions

View file

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

View file

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

View file

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