Contrôles en tête de la page, ou sous la question

pull/385/head
Mael 2018-09-12 18:39:39 +02:00
parent c3deccc867
commit 7d0dcb4715
2 changed files with 7 additions and 7 deletions

View File

@ -14,6 +14,7 @@
#controlsBlock #controlContent {
font-size: 90%;
margin-bottom: 0.6em;
}
#controlExplanation {

View File

@ -69,6 +69,12 @@ class TargetSelection extends Component {
} = this.props
return (
<div id="targetSelection">
{noUserInput && (
<p className="blockingControl">
<Trans i18nKey="enterSalary">Entrez un salaire mensuel</Trans>
</p>
)}
<Controls {...{ blockingInputControls, controls }} />
<section
id="targetsContainer"
style={{
@ -81,13 +87,6 @@ class TargetSelection extends Component {
}}>
{this.renderOutputList()}
</section>
{noUserInput && (
<p className="blockingControl">
<Trans i18nKey="enterSalary">Entrez un salaire mensuel</Trans>
</p>
)}
<Controls {...{ blockingInputControls, controls }} />
</div>
)
}