Merge pull request #87 from omnivore-app/fix/typography-tweaks

Tweak the line height for reader text and titles
This commit is contained in:
Jackson Harper 2022-02-18 16:52:24 +08:00 committed by GitHub
commit a28857111b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ const textVariants = {
export const StyledText = styled('p', {
fontFamily: 'Inter',
fontWeight: 'normal',
lineHeight: '1.35',
lineHeight: '120%',
color: '$grayTextContrast',
variants: textVariants,
defaultVariants: {

View file

@ -126,7 +126,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
maxWidth: '94%',
'--text-font-family': styles.fontFamily,
'--text-font-size': `${styles.fontSize}px`,
'--line-height': `1.61em`,
'--line-height': `150%`,
'--blockquote-padding': '0.5em 1em',
'--blockquote-icon-font-size': '1.3rem',
'--figure-margin': '1.6rem auto',