🎨 Alingement des expressions sur mobile

pull/603/head
Mael 2019-07-23 14:44:01 +02:00
parent 0233c793a0
commit fb73ed5cbf
2 changed files with 10 additions and 4 deletions

View File

@ -29,7 +29,7 @@
align-items: baseline;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
justify-content: space-between
}
.nodeContent {
margin-right: 0.3em;

View File

@ -63,12 +63,18 @@ export class Node extends Component {
</div>
)
) : (
<>
<span
css={`
@media (max-width: 1200px) {
width: 100%;
text-align: right;
}
`}>
{value !== true && value !== false && !isNil(value) && (
<span className="operator"> = </span>
<span className="operator"> =&nbsp;</span>
)}
<NodeValuePointer data={value} unit={unit} />
</>
</span>
)}
</div>
)