Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Introduce a root div to insulate it from outside element to prevent resizing the BBAvatar

Tianzhou Chenfb9d29bbe505
diff --git a/frontend/src/bbkit/BBAvatar.vue b/frontend/src/bbkit/BBAvatar.vue
index 3f12626dad..36ab48d47d 100644
--- a/frontend/src/bbkit/BBAvatar.vue
+++ b/frontend/src/bbkit/BBAvatar.vue
@@ -1,10 +1,13 @@
<template>
- <div
- class="flex tracking-wide justify-center items-center select-none"
- :class="textClass"
- :style="[style]"
- >
- <slot>{{ initials }}</slot>
+ <!-- This div is used to insulate it from outside element to prevent resizing the BBAvatar -->
+ <div>
+ <div
+ class="flex tracking-wide justify-center items-center select-none"
+ :class="textClass"
+ :style="[style]"
+ >
+ <slot>{{ initials }}</slot>
+ </div>
</div>
</template>