From 338c71cbc7746276d8320432cccd1b6040dc5044 Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 16 Nov 2018 14:47:54 +0000 Subject: [PATCH] =?UTF-8?q?:art:=20Code=20source=20des=20r=C3=A8gles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/rule/Rule.css | 13 +++++++++++++ source/components/rule/RuleSource.js | 5 +++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/source/components/rule/Rule.css b/source/components/rule/Rule.css index aa6721f76..e84bba73c 100644 --- a/source/components/rule/Rule.css +++ b/source/components/rule/Rule.css @@ -36,3 +36,16 @@ h2 small { text-align: center; opacity: 0.75; } + +#toggleRuleSource { + margin-top: 1em; + width: 100%; +} +#rule #toggleRuleSource { + text-align: right; + padding-right: 5em; +} +#toggleRuleSource img { + width: 1.5em !important; + height: 1.5em !important; +} diff --git a/source/components/rule/RuleSource.js b/source/components/rule/RuleSource.js index 2326d87be..a5ff2de02 100644 --- a/source/components/rule/RuleSource.js +++ b/source/components/rule/RuleSource.js @@ -14,8 +14,9 @@ export default class Source extends Component { return (

- {emoji('⛰️ ')} - Source de {dottedName} + {emoji('⚙️ ')} + Code source
+ {dottedName}

Chargement du code source...
}>