Skip to content

Commit 7e37a8c

Browse files
committed
Merge branch 'master' into typescript/tab-controller-move-to-typescript
* master: Fix/avatars label alignment (#1082)
2 parents d16185d + 35aa34a commit 7e37a8c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

generatedTypes/components/avatar/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ declare function createStyles(props: AvatarProps): {
153153
initials: {
154154
color: string | undefined;
155155
backgroundColor: string;
156+
lineHeight: undefined;
156157
};
157158
ribbon: {
158159
backgroundColor: string;

src/components/avatar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ function createStyles(props: AvatarProps) {
368368
},
369369
initials: {
370370
color: labelColor,
371-
backgroundColor: 'transparent'
371+
backgroundColor: 'transparent',
372+
lineHeight: undefined
372373
},
373374
ribbon: {
374375
backgroundColor: Colors.blue30,

0 commit comments

Comments
 (0)