mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-25603] Use angular template for avatar (#15978)
We should be able to simplify the angular component by using svg element directly.
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
[color]="currentAccount.avatarColor"
|
||||
size="small"
|
||||
aria-hidden="true"
|
||||
class="[&>img]:tw-block"
|
||||
></bit-avatar>
|
||||
</button>
|
||||
<ng-template #defaultButton>
|
||||
|
||||
@@ -137,3 +137,8 @@ body.body-full {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/** Temporary fix for avatar, will not be required once we migrate to tailwind preflight **/
|
||||
bit-avatar svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user