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:
@@ -140,8 +140,4 @@ button.active {
|
||||
display: block;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
pre code {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
@@ -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><link
|
||||
<pre style="max-width: 375px"><code><link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/98.css"
|
||||
></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>
|
||||
|
||||
|
@@ -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><link
|
||||
<pre style="max-width: 375px"><code><link
|
||||
rel="stylesheet"
|
||||
href="https://unpkg.com/98.css"
|
||||
></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>
|
||||
|
||||
|
Reference in New Issue
Block a user