🎨 Code source des règles

pull/386/head
Mael 2018-11-16 14:47:54 +00:00
parent 567602f0cb
commit 338c71cbc7
2 changed files with 16 additions and 2 deletions

View File

@ -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;
}

View File

@ -14,8 +14,9 @@ export default class Source extends Component {
return (
<div id="Source" className="ui__ container">
<h2>
{emoji('⛰️ ')}
Source de <code>{dottedName}</code>
{emoji('⚙️ ')}
Code source <br />
<code>{dottedName}</code>
</h2>
<Suspense fallback={<div>Chargement du code source...</div>}>
<MonacoEditor