chat: code blocks are rounded, levelled padding

This commit is contained in:
Matilde Park 2020-10-30 16:04:45 -04:00
parent 2688497c4a
commit 8458b40e34
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,7 @@ export default class CodeContent extends Component {
mono
p='1'
my='0'
borderRadius='1'
fontSize='14px'
overflow='auto'
maxHeight='10em'
@ -33,6 +34,7 @@ export default class CodeContent extends Component {
mono
my='0'
p='1'
borderRadius='1'
fontSize='14px'
overflow='auto'
maxHeight='10em'

View File

@ -30,10 +30,11 @@ const renderers = {
},
code: ({language, value}) => {
return <Text
py='1'
p='1'
className='clamp-message'
fontSize='14px'
display='block'
borderRadius='1'
mono
backgroundColor='washedGray'
overflowX='scroll'