Add "angle-down" icon for user menu button
make it more obvious that it's a menu button...
This commit is contained in:
parent
609fef4159
commit
f19b1bc387
|
@ -6,12 +6,14 @@
|
|||
class="level-item">
|
||||
|
||||
<b-dropdown aria-role="menu">
|
||||
<button class="button is-primary"
|
||||
:class="{'is-danger': exposeRoot && user_is_root}"
|
||||
slot="trigger">
|
||||
<b-icon icon="fas fa-user"></b-icon>
|
||||
<span>{{ user.short_name }}</span>
|
||||
</button>
|
||||
|
||||
<b-button type="is-primary"
|
||||
:class="{'is-danger': exposeRoot && user_is_root}"
|
||||
slot="trigger"
|
||||
icon-left="user"
|
||||
icon-right="angle-down">
|
||||
{{ user.short_name }}
|
||||
</b-button>
|
||||
|
||||
<slot></slot>
|
||||
|
||||
|
|
Loading…
Reference in a new issue