🎨 Code source des règles
parent
567602f0cb
commit
338c71cbc7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue