mirror of
https://github.com/jdan/98.css.git
synced 2025-08-31 01:29:58 +02:00
fix code width on mobile
This commit is contained in:
@@ -140,8 +140,4 @@ button.active {
|
|||||||
display: block;
|
display: block;
|
||||||
margin-top: 24px;
|
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.
|
<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>
|
</p>
|
||||||
|
|
||||||
<pre style="width: 375px"><code><link
|
<pre style="max-width: 375px"><code><link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://unpkg.com/98.css"
|
href="https://unpkg.com/98.css"
|
||||||
></code></pre>
|
></code></pre>
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
<p>
|
<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>.
|
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>
|
</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>
|
<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.
|
<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>
|
</p>
|
||||||
|
|
||||||
<pre style="width: 375px"><code><link
|
<pre style="max-width: 375px"><code><link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://unpkg.com/98.css"
|
href="https://unpkg.com/98.css"
|
||||||
></code></pre>
|
></code></pre>
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
<p>
|
<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>.
|
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>
|
</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>
|
<h2 id="components">Components</h2>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user