mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 05:22:27 +03:00
chat: pad inline code
This commit is contained in:
parent
46fc5b5e4f
commit
3862ce1b25
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user