1
0
mirror of https://github.com/jdan/98.css.git synced 2025-08-30 09:09:56 +02:00

fix code width on mobile

This commit is contained in:
Jordan Scales
2020-04-21 21:19:49 -04:00
parent 6cff530298
commit 68d7366ddf
3 changed files with 4 additions and 8 deletions

View File

@@ -140,8 +140,4 @@ button.active {
display: block;
margin-top: 24px;
}
pre code {
width: auto;
}
}

View File

@@ -100,7 +100,7 @@
<a href="https://codesandbox.io/s/late-sound-miqho?file=/index.html">an example with vanilla JavaScript</a>. The fastest way to use 98.css is to import it from unpkg.
</p>
<pre style="width: 375px"><code>&lt;link
<pre style="max-width: 375px"><code>&lt;link
rel="stylesheet"
href="https://unpkg.com/98.css"
&gt;</code></pre>
@@ -108,7 +108,7 @@
<p>
You can install 98.css from the <a href="https://github.com/jdan/98.css/releases">GitHub releases page</a>, or <a href="https://www.npmjs.com/package/98.css">from npm</a>.
</p>
<pre style="width: 375px"><code>npm install 98.css</code></pre>
<pre style="max-width: 375px"><code>npm install 98.css</code></pre>
<h2 id="components">Components</h2>

View File

@@ -100,7 +100,7 @@
<a href="https://codesandbox.io/s/late-sound-miqho?file=/index.html">an example with vanilla JavaScript</a>. The fastest way to use 98.css is to import it from unpkg.
</p>
<pre style="width: 375px"><code>&lt;link
<pre style="max-width: 375px"><code>&lt;link
rel="stylesheet"
href="https://unpkg.com/98.css"
&gt;</code></pre>
@@ -108,7 +108,7 @@
<p>
You can install 98.css from the <a href="https://github.com/jdan/98.css/releases">GitHub releases page</a>, or <a href="https://www.npmjs.com/package/98.css">from npm</a>.
</p>
<pre style="width: 375px"><code>npm install 98.css</code></pre>
<pre style="max-width: 375px"><code>npm install 98.css</code></pre>
<h2 id="components">Components</h2>