1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-27 14:17:13 +03:00

Merge pull request from urbit/mp/landscape/graph-renderers

GraphContent: amend text, blockquote boxing, color
This commit is contained in:
matildepark 2021-05-18 13:10:55 -04:00 committed by GitHub
commit 1bbb86868b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,7 +271,7 @@ const renderers = {
return (
<Text
lineHeight="tall"
display="inline-block"
display="block"
borderLeft="1px solid"
color="black"
paddingLeft={2}
@ -283,8 +283,10 @@ const renderers = {
},
paragraph: ({ children }) => {
return (
<Box fontSize={1} lineHeight="tall">
<Box display="inline-block">
<Text fontSize={1} lineHeight="tall">
{children}
</Text>
</Box>
);
},