forked from apache/airavata-custos-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apachegh-31: Improve the profile button in the header
- Loading branch information
1 parent
75d65a9
commit bc174bc
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,11 @@ | |
<div class="email">[email protected]</div> | ||
</div> | ||
|
||
<b-dropdown right class="ml-2" text=""> | ||
|
||
<b-dropdown right class="ml-2" text="" no-caret toggle-class="user-avatar-button"> | ||
<template slot="button-content"> | ||
<b-icon icon="person-fill"></b-icon> | ||
</template> | ||
<b-dropdown-item href="#" disabled>Profile</b-dropdown-item> | ||
<b-dropdown-item v-on:click="logout">Logout</b-dropdown-item> | ||
</b-dropdown> | ||
|
@@ -54,7 +58,7 @@ | |
} | ||
</script> | ||
|
||
<style scoped> | ||
<style> | ||
.header { | ||
display: flex; | ||
} | ||
|
@@ -99,4 +103,13 @@ | |
color: #203a43; | ||
} | ||
.user-avatar-button { | ||
border-radius: 30px; | ||
width: 35px; | ||
height: 35px; | ||
padding: 0px; | ||
line-height: 0px; | ||
font-size: 15px; | ||
} | ||
</style> |