Browse Source

fix(id-badge): Increase display name's line height (#33181)

Vu Luong 2 years ago
parent
commit
27efa3fe83
1 changed files with 2 additions and 2 deletions
  1. 2 2
      static/app/components/idBadge/baseBadge.tsx

+ 2 - 2
static/app/components/idBadge/baseBadge.tsx

@@ -74,14 +74,14 @@ const StyledAvatar = styled(Avatar)<{hideName: boolean}>`
 const DisplayNameAndDescription = styled('div')`
   display: flex;
   flex-direction: column;
-  line-height: 1;
+  line-height: 1.2;
   overflow: hidden;
 `;
 
 const DisplayName = styled('span')`
   overflow: hidden;
   text-overflow: ellipsis;
-  line-height: 1;
+  line-height: 1.2;
 `;
 
 const Description = styled('div')`