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; color: $color-black;
margin: 10px 5px; margin: 10px 5px;
font-size: $fs14; font-size: $fs14;
max-width: 135px; max-width: 160px;
} }
img { img {
@ -378,6 +378,13 @@
width: 25px; width: 25px;
} }
svg {
height: 10px;
margin-left: auto;
margin-right: $small;
width: 10px;
}
.dropdown { .dropdown {
left: 15px; left: 15px;
bottom: 45px; bottom: 45px;

View file

@ -154,11 +154,11 @@
border-right: 1px solid $color-gray-40; border-right: 1px solid $color-gray-40;
border-top: 1px solid $color-gray-40; border-top: 1px solid $color-gray-40;
position: absolute; position: absolute;
width: 0.5rem; width: 6px;
height: 0.5rem; height: 6px;
transform: rotate(-45deg); transform: rotate(-45deg);
top: -1px; top: -1px;
left: -5px; left: -4px;
} }
} }

View file

@ -439,6 +439,7 @@
[:div.profile-section {:on-click #(reset! show true)} [:div.profile-section {:on-click #(reset! show true)}
[:img {:src photo}] [:img {:src photo}]
[:span (:fullname profile)] [:span (:fullname profile)]
i/arrow-down
[:& dropdown {:on-close #(reset! show false) [:& dropdown {:on-close #(reset! show false)
:show @show} :show @show}