Skip to content

Commit 2aef29f

Browse files
committed
fix default account image shift
1 parent 24f3a49 commit 2aef29f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/ProfileImage/ProfileImage.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const SIZES = {
2-
sm: 'w-14 h-14',
2+
sm: 'w-12 h-14',
33
md: 'w-20 h-20',
4-
lg: 'w-24 h-24'
5-
}
4+
lg: 'w-24 h-24',
5+
};
66
const ProfileImage = ({ src, alt, size }) => {
77
const sizeClass = SIZES[size] || SIZES.md;
88

@@ -16,9 +16,9 @@ const ProfileImage = ({ src, alt, size }) => {
1616
/>
1717
) : (
1818
<svg
19-
className={`absolute ${sizeClass} text-gray-400 -left-1`}
19+
className={`${sizeClass} text-gray-400`}
2020
fill="currentColor"
21-
viewBox="0 0 20 20"
21+
viewBox="0 0 20 18"
2222
xmlns="http://www.w3.org/2000/svg"
2323
>
2424
<path

0 commit comments

Comments
 (0)