📱 Fix pre overflow in mobile (#1611)

This commit is contained in:
Kunal Keshan 2023-10-11 00:22:21 +05:30 committed by GitHub
parent d63a72f05f
commit abd3391fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View File

@ -87,7 +87,9 @@ exports[`Pages About should render the page 1`] = `
</a>
. A gitmoji interactive client for using emojis on commit messages.
</p>
<pre>
<pre
className="overflow-x-adjust"
>
<code>
$ npm i -g gitmoji-cli
</code>
@ -4154,7 +4156,9 @@ exports[`Pages Specification should render the page 1`] = `
: A brief explanation of the change.
</li>
</ul>
<pre>
<pre
className="overflow-x-adjust"
>
<code>
&lt;intention&gt; [scope?][:?] &lt;message&gt;
</code>

View File

@ -51,7 +51,7 @@ const About = () => (
A gitmoji interactive client for using emojis on commit messages.
</p>
<pre>
<pre className="overflow-x-adjust">
<code>$ npm i -g gitmoji-cli</code>
</pre>
</section>

View File

@ -36,7 +36,7 @@ const Specification = () => (
</li>
</ul>
<pre>
<pre className="overflow-x-adjust">
<code>&lt;intention&gt; [scope?][:?] &lt;message&gt;</code>
</pre>
</section>

View File

@ -114,6 +114,10 @@ pre {
padding: 1em;
}
.overflow-x-adjust {
overflow-x: auto;
}
.wrap {
max-width: 1100px;
margin: 0 auto;