Skip to content

Commit 41c8fc0

Browse files
committed
fix: avatar centered alignment
1 parent bac9be9 commit 41c8fc0

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/theme/component-variables/avatarVariables.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ export const getAvatarVariables = (
2727
width: '100%',
2828
},
2929

30-
text: {
31-
alignItems: 'center',
32-
display: 'flex',
33-
justifyContent: 'center',
34-
},
30+
text: {},
3531

3632
fills: themeVariables.fills,
3733
};

src/theme/style-getters/getAvatarStyles.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ export const getAvatarStyles = (
111111
...avatarVariables.text,
112112
color: colorProps.color,
113113
fontSize: initialsFontSize,
114-
height: size,
115114
lineHeight: initialsFontSize,
116-
width: size,
117115
},
118116

119117
imageStyle: avatarVariables.image,

0 commit comments

Comments
 (0)