🐛 La check_mark était rouge sur les Samsung

pull/256/head
Mael 2018-06-15 16:33:54 +02:00
parent 20a21a7f11
commit c3ecb5d1aa
2 changed files with 5 additions and 6 deletions

View File

@ -151,7 +151,7 @@
text-align: center;
}
#rule-rules .situationValue. {
#rule-rules .situationValue. {
color: #5ab738;
}
#rule-rules .situationValue. {
@ -176,7 +176,6 @@
.variable a:focus {
border: 1px dotted;
outline: none;
}
.percentage .name {
@ -283,18 +282,18 @@
display: inline-block;
}
.nodeHead .name .situationValue:not(.):not(.)::before {
.nodeHead .name .situationValue:not(.):not(.)::before {
content: '(';
}
.nodeHead .name .situationValue:not(.):not(.)::after {
.nodeHead .name .situationValue:not(.):not(.)::after {
content: ')';
}
/* Remove style for conditions */
.situationValue.,
.situationValue. {
.situationValue. {
padding: 0 0.5em;
margin-right: -1px !important;
}

View File

@ -13,7 +13,7 @@ let treatValue = (data, language) =>
data == null
? '?'
: typeof data == 'boolean'
? { true: '', false: '✘' }[data]
? { true: '', false: '✘' }[data]
: !isNaN(data)
? Intl.NumberFormat(language, { maximumFractionDigits: 2 }).format(data)
: data