chat: pad inline code

This commit is contained in:
Matilde Park 2020-11-18 15:41:07 -05:00
parent 46fc5b5e4f
commit 3862ce1b25

View File

@ -26,7 +26,7 @@ const DISABLED_INLINE_TOKENS = [
const renderers = {
inlineCode: ({language, value}) => {
return <Text mono backgroundColor='washedGray' style={{ whiteSpace: 'preWrap'}}>{value}</Text>
return <Text mono p='1' backgroundColor='washedGray' style={{ whiteSpace: 'preWrap'}}>{value}</Text>
},
code: ({language, value}) => {
return <Text