Skip to content

Commit

Permalink
Set smaller font-size on code blocks inside ArgRow
Browse files Browse the repository at this point in the history
Setting smaller font-size on code blocks is also done at GitHub
  • Loading branch information
niklasmh committed Aug 12, 2021
1 parent c70c890 commit 919520f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/components/src/blocks/ArgsTable/ArgRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ const Description = styled.div(({ theme }) => ({
},
},

code: codeCommon({ theme }),
code: {
...codeCommon({ theme }),
fontSize: 12,
},

'& code': {
margin: 0,
Expand Down

0 comments on commit 919520f

Please sign in to comment.