Skip to content

Commit 1c14c28

Browse files
fix(ui/avatar): move flexbox to fallback component
1 parent 4d827d5 commit 1c14c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ui/avatar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { LinkBox, LinkOverlay } from "./link-box"
1212
const avatarStyles = tv({
1313
slots: {
1414
container:
15-
"relative shrink-0 flex overflow-hidden rounded-full focus:outline-4 focus:-outline-offset-1 focus:rounded-full active:shadow-none [&_img]:hover:opacity-70 border border-transparent active:border-primary-hover justify-center items-center",
16-
fallback: "bg-body text-body-inverse",
15+
"relative shrink-0 overflow-hidden rounded-full focus:outline-4 focus:-outline-offset-1 focus:rounded-full active:shadow-none [&_img]:hover:opacity-70 border border-transparent active:border-primary-hover ",
16+
fallback: "bg-body text-body-inverse flex justify-center items-center",
1717
},
1818
variants: {
1919
size: {

0 commit comments

Comments
 (0)