🎨 Mise en valeur de l'avertissement

pull/385/head
Mael 2018-09-12 16:37:17 +02:00
parent 7b8beefb1c
commit f3a7c68930
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,8 @@
#controlsBlock h3 {
text-align: center;
margin: 0 0 0.6em;
border-bottom-width: 1px;
border-bottom-style: solid;
}
#controlsBlock #controlContent {

View File

@ -26,7 +26,11 @@ function Controls({ blockingInputControls, controls, startConversation }) {
{do {
let { level, solution, evaluated } = controls[0]
;<>
<h3>
<h3
style={{
borderBottomColor:
level === 'avertissement' ? '#e67e22' : '#34495e'
}}>
{level === 'avertissement'
? 'Attention !'
: 'Information'}