codeblock fix

This commit is contained in:
oliminator 2021-12-21 15:38:50 +01:00
parent 0c6a17234f
commit 1ed191217a
4 changed files with 10 additions and 8 deletions

View file

@ -25,9 +25,7 @@ input {
}
.code{
background-color: var(--codeblock);
border-radius: .2rem;
padding: .2rem .5rem;
max-width: 900px;
}
@media screen and (max-width:600px) {
@ -38,4 +36,7 @@ input {
font-size: 1rem;
padding: .1rem .5rem;
}
.code{
max-width: 300px;
}
}

View file

@ -139,9 +139,7 @@ input {
}
.code {
background-color: var(--codeblock);
border-radius: .2rem;
padding: .2rem .5rem;
max-width: 900px;
}
@media screen and (max-width: 600px) {
@ -152,5 +150,8 @@ input {
font-size: 1rem;
padding: .1rem .5rem;
}
.code {
max-width: 300px;
}
}
/*# sourceMappingURL=style.css.map */

View file

@ -1,6 +1,6 @@
{
"version": 3,
"mappings": "AAKA,OAAO,CAAC,0HAAI;ACLZ,AAAA,IAAI,CAAC;EACH,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,UAAU;CACvB;;AACD,AAAA,CAAC;AACD,CAAC,AAAA,QAAQ;AACT,CAAC,AAAA,OAAO,CAAC;EACP,UAAU,EAAE,OAAO;CACpB;;AACD,AAAA,IAAI,CAAC;EACH,WAAW,EAAE,4BAA4B;EACzC,WAAW,EAAE,GAAG;EAChB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,gBAAgB,EAAE,eAAe;EACjC,KAAK,EAAE,KAAK;CACb;;AChBD,AAAA,KAAK,CAAC;EACF,MAAM,CAAA,QAAC;EACP,QAAQ,CAAA,QAAC;EACT,aAAa,CAAA,QAAC;EACd,UAAU,CAAA,QAAC;EACX,WAAW,CAAA,QAAC;CACf;;ACND,AAAA,eAAe,CAAA;EACX,MAAM,EAAE,KAAK;EACb,OAAO,EAAE,IAAI;EACb,eAAe,EAAE,MAAM;EACvB,WAAW,EAAE,MAAM;EACnB,cAAc,EAAE,MAAM;CAGzB;;AAED,AAAA,UAAU,CAAC;EACP,gBAAgB,EAAE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E,KAAK;EACZ,OAAO,EAAE,WAAW;EACpB,gBAAgB,EAAE,gBAAgB;EAClC,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,MAAM;EACjB,YAAY,EAAE,IAAI;EAClB,aAAa,EAAE,KAAK;CACvB;;AAED,AAAA,KAAK,CAAA;EACL,SAAS,EAAE,KAAK;CACf;;AAED,MAAM,CAAC,MAAM,MAAM,SAAS,EAAE,KAAK;EAC/B,AAAA,KAAK,CAAC;IACF,SAAS,EAAE,IAAI;GAClB;EACD,AAAA,MAAM,CAAC;IACH,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,WAAW;GACvB;EACD,AAAA,KAAK,CAAA;IACD,SAAS,EAAE,KAAK;GACf",
"sources": [
"../app/scss/style.scss",
"../app/scss/_globals.scss",

View file

@ -31,7 +31,7 @@
<input placeholder='Channel Id' name='channel' id='channel'/> <!--Channel Id-->
</form>
<button id='addRole'>Add Role</button>
<pre class='hljs language-json'><code id='json'></code></pre>
<pre class='hljs language-json'><code id='json' class="code"></code></pre>
</div>
</section>
<script src='//cdn.jsdelivr.net/npm/sweetalert2@11'></script>