Skip to content

Commit

Permalink
💄 Style title and step title correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
shea-maykinmedia committed Jun 7, 2021
1 parent 4c6a65d commit 65883ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ const Summary = ({ submission, onConfirm, onShowStep }) => {

return (
<form onSubmit={onSubmit}>
<h2>Controleer en bevestig</h2>

<h1 className="openforms-title">Controleer en bevestig</h1>
{value && value.map((step, index) => (

<Fragment key={index}>
<div style={{display: 'flex', alignItems: 'baseline', justifyContent: 'space-between'}}>
<h3>{step.title}</h3>
<h3 className="openforms-caption">{step.title}</h3>
<Button variant="anchor" component="a" onClick={_ => onShowStep(step.submissionStep)}>
Wijzig {step.title.toLocaleLowerCase()}
</Button>
Expand All @@ -97,7 +97,6 @@ const Summary = ({ submission, onConfirm, onShowStep }) => {
form={step.configuration}
submission={step.data}
options={{renderMode: 'html', template: 'overview'}}
// options={{renderMode: 'html'}}
/>
</Fragment>
))}
Expand Down

0 comments on commit 65883ec

Please sign in to comment.