🎨 Centrage du bouton de signalement d'erreur
parent
d9ec269134
commit
91b2014b02
|
@ -65,12 +65,3 @@
|
|||
#examples .example.ok i {
|
||||
color: #2ecc71
|
||||
}
|
||||
|
||||
#reportError {
|
||||
background: #c0392b;
|
||||
color: white;
|
||||
border: none;
|
||||
font-size: 100%;
|
||||
padding: .3em .6em;
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
|
|
@ -80,12 +80,6 @@ export default class Examples extends Component {
|
|||
</button>
|
||||
</div>
|
||||
}
|
||||
<button
|
||||
id="reportError">
|
||||
<a href={"mailto:contact@embauche.beta.gouv.fr?subject=Erreur dans une règle " + name}>
|
||||
<i className="fa fa-exclamation-circle" aria-hidden="true" style={{marginRight: '.6em'}}></i>Signaler une erreur
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -357,3 +357,14 @@
|
|||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
|
||||
#reportError {
|
||||
background: #c0392b;
|
||||
color: white;
|
||||
border: none;
|
||||
font-size: 100%;
|
||||
padding: .3em .6em;
|
||||
margin: 3em auto 0;
|
||||
display: block;
|
||||
}
|
||||
|
|
|
@ -124,6 +124,12 @@ export default class Rule extends Component {
|
|||
showValues={this.state.showValues}
|
||||
inject={example => this.setState({example, showValues: true})}/>
|
||||
</section>
|
||||
<button
|
||||
id="reportError">
|
||||
<a href={"mailto:contact@embauche.beta.gouv.fr?subject=Erreur dans une règle " + name}>
|
||||
<i className="fa fa-exclamation-circle" aria-hidden="true" style={{marginRight: '.6em'}}></i>Signaler une erreur
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue