1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

[PM-9707] [Boostrap] Fix avatar and customize placement (#10093)

The Avatar customize button appeared below the avatar after removing Boostrap. This resolves it by adding flex, it also has the added benefit of aligning the button vertically as it's currently slightly misaligned.
This commit is contained in:
Oscar Hinton 2024-07-13 00:48:59 +02:00 committed by GitHub
parent eceec4b908
commit 06cf849b18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,8 +19,8 @@
</bit-form-field>
</div>
<div class="tw-col-span-6">
<div class="tw-mb-3">
<dynamic-avatar text="{{ profile | userName }}" [id]="profile.id" [size]="'large'">
<div class="tw-mb-3 tw-flex tw-align-middle tw-items-center">
<dynamic-avatar text="{{ profile | userName }}" [id]="profile.id" size="large">
</dynamic-avatar>
<button
class="tw-ml-3"