🎨 Mise en valeur de l'avertissement
parent
7b8beefb1c
commit
f3a7c68930
|
@ -6,6 +6,8 @@
|
|||
#controlsBlock h3 {
|
||||
text-align: center;
|
||||
margin: 0 0 0.6em;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
|
||||
#controlsBlock #controlContent {
|
||||
|
|
|
@ -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'}
|
||||
|
|
Loading…
Reference in New Issue