mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +03:00
chat: code blocks are rounded, levelled padding
This commit is contained in:
parent
2688497c4a
commit
8458b40e34
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user