mirror of
https://github.com/urbit/shrub.git
synced 2024-12-28 06:32:51 +03:00
Merge pull request #4915 from urbit/mp/landscape/graph-renderers
GraphContent: amend text, blockquote boxing, color
This commit is contained in:
commit
1bbb86868b
@ -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>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user