interface: normalize headers to 600 font weight

Fixes urbit/landscape#622
This commit is contained in:
Liam Fitzgerald 2021-04-01 18:26:54 +10:00
parent aaaa4e275c
commit 16f05a165c
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ export function GroupSwitcher(props: {
>
<Row flexGrow={1} alignItems="center" width='100%' minWidth='0' flexShrink={0}>
{ metadata && <MetadataIcon flexShrink={0} mr="2" metadata={metadata} height="24px" width="24px" /> }
<Text flexShrink={1} lineHeight="1.1" fontSize='2' fontWeight="700" overflow='hidden' display='inline-block' flexShrink='1' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre' }}>{title}</Text>
<Text flexShrink={1} lineHeight="1.1" fontSize='2' fontWeight="600" overflow='hidden' display='inline-block' flexShrink='1' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre' }}>{title}</Text>
</Row>
</Dropdown>
<Row pr='3' verticalAlign="middle">

View File

@ -90,7 +90,7 @@ export function ResourceSkeleton(props: ResourceSkeletonProps): ReactElement {
<Text
mono={urbitOb.isValidPatp(title)}
fontSize='2'
fontWeight='700'
fontWeight='600'
textOverflow='ellipsis'
overflow='hidden'
whiteSpace='nowrap'