Fix max-width for code paths (#1309)
This commit is contained in:
@@ -50,10 +50,10 @@ const CodePath = ({
|
|||||||
}) => {
|
}) => {
|
||||||
return <>
|
return <>
|
||||||
{codeFlow.threadFlows.map((threadFlow, index) =>
|
{codeFlow.threadFlows.map((threadFlow, index) =>
|
||||||
<div key={`thread-flow-${index}`}>
|
<div key={`thread-flow-${index}`} style={{ maxWidth: '55em' }}>
|
||||||
{index !== 0 && <VerticalSpace size={3} />}
|
{index !== 0 && <VerticalSpace size={3} />}
|
||||||
|
|
||||||
<Box display="flex" justifyContent="center" alignItems="center" width="42.5em">
|
<Box display="flex" justifyContent="center" alignItems="center">
|
||||||
<Box flexGrow={1} p={0} border="none">
|
<Box flexGrow={1} p={0} border="none">
|
||||||
<SectionTitle>Step {index + 1}</SectionTitle>
|
<SectionTitle>Step {index + 1}</SectionTitle>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user