Skip to content

Commit 1c59dba

Browse files
authored
Issue/fix font width (#123)
1 parent ad418ed commit 1c59dba

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/pages/sidepanel/components/EmptyState.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ const EmptyState: React.FC<EmptyStateProps> = ({ body, type }) => {
7272
<Box
7373
pt={1}
7474
pb={5}
75-
fontSize={appColors.common.fontSize.baseSmall}
75+
fontSize={appColors.common.fontSize.base}
76+
fontWeight={appColors.common.fontWeight.bold}
7677
textAlign={'center'}
77-
color={appColors.neutral[300]}
78+
color={appColors.neutral[600]}
7879
fontFamily={appColors.common.fontFamily}>
7980
{body}
8081
</Box>

src/pages/sidepanel/sections/profile/ProfileHeader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const FieldLabel = styled(Typography)(() => ({
4646

4747
const FieldValue = styled(Typography)(() => ({
4848
fontSize: appColors.common.fontSize.baseSmall,
49+
fontWeight: appColors.common.fontWeight.medium,
4950
color: appColors.neutral[600],
5051
overflow: 'hidden',
5152
textOverflow: 'ellipsis',

src/pages/sidepanel/sections/profile/ProfileMetadata.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ const FieldLabel = styled(Typography)(() => ({
4646
const FieldValue = styled(Typography)(() => ({
4747
fontSize: appColors.common.fontSize.baseSmall,
4848
fontFamily: appColors.common.fontFamily,
49+
fontWeight: appColors.common.fontWeight.medium,
4950
color: appColors.neutral[600],
5051
overflow: 'hidden',
5152
textOverflow: 'ellipsis',
5253
whiteSpace: 'nowrap',
5354
textAlign: 'center',
55+
alignSelf: 'center',
5456
flex: 1,
5557
}));
5658

0 commit comments

Comments
 (0)