From c33d2471ee1b8f2789d76da8177dc525576727c0 Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 7 Sep 2018 17:26:11 +0200 Subject: [PATCH] =?UTF-8?q?Affichage=20de=20la=20valeur=20par=20d=C3=A9fau?= =?UTF-8?q?t=20sur=20/r=C3=A8gle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/rule/Rule.css | 5 +++++ source/components/rule/Rule.js | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/source/components/rule/Rule.css b/source/components/rule/Rule.css index 5752722fc..b5afef9d1 100644 --- a/source/components/rule/Rule.css +++ b/source/components/rule/Rule.css @@ -34,3 +34,8 @@ h2 small { margin-bottom: 1em; margin-top: 0.4em; } + +#rule #ruleDefault { + text-align: center; + opacity: 0.75; +} diff --git a/source/components/rule/Rule.js b/source/components/rule/Rule.js index 4d6e6288b..f6976adb2 100644 --- a/source/components/rule/Rule.js +++ b/source/components/rule/Rule.js @@ -75,7 +75,7 @@ export default class Rule extends Component { />
- {showValues && displayedRule.nodeValue ? ( + {displayedRule.nodeValue ? (