Skip to content

Commit

Permalink
Added styles to table (#6315)
Browse files Browse the repository at this point in the history
* Added styles to table

* Update prose-lite.ts

* Update prose-lite.ts

* Update prose-lite.ts

Co-authored-by: Thomas Walker <[email protected]>
  • Loading branch information
raveling and bladey authored Aug 16, 2021
1 parent 64e6c1d commit c1df1e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/lib/prose-lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ export const proseStyles = {
marginBottom: '2rem',
fontSize: 'var(--font-xsmall)',
lineHeight: 1.7142857,
maxWidth: '100%',
overflowX: 'auto' as const,
display: 'block',
},
thead: {
color: 'var(--text)',
Expand All @@ -173,6 +176,9 @@ export const proseStyles = {
paddingRight: '0.5714285714em',
paddingBottom: '0.5714285714em',
paddingLeft: '0.5714285714em',
'> code': {
whiteSpace: 'nowrap' as const,
},
},
fontSize: 'var(--font-small)',
lineHeight: 1.75,
Expand Down

1 comment on commit c1df1e5

@vercel
Copy link

@vercel vercel bot commented on c1df1e5 Aug 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.