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