1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00: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

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"