Skip to content

Commit a55810e

Browse files
author
mrmrs
committed
Fix code block to be reponsive on mobile
1 parent 4e60ee7 commit a55810e

File tree

31 files changed

+40
-36
lines changed

31 files changed

+40
-36
lines changed

src/templates/docs/background-size/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
6363
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-size" class="link fw6 blue dim">MDN - Background Size</a>
6464
</div>
6565
</div>
66-
<section class="bg-near-white black-70 pt4 pb5">
66+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
6767
<header class="ph3 ph5-ns pt4">
6868
<kbd class="yellow">src/_background-size.css</kbd>
6969
</header>

src/templates/docs/border-radius/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
7777
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius" class="link fw6 blue dim">MDN - Border Radius</a>
7878
</div>
7979
</div>
80-
<section class="bg-near-white black-70 pt4 pb5">
80+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
8181
<header class="ph3 ph5-ns pt4">
8282
<kbd class="yellow">src/_border-radius.css</kbd>
8383
</header>

src/templates/docs/borders/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
358358
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/border-width" class="link db fw6 blue dim">MDN - Border Width</a>
359359
</div>
360360
</div>
361-
<section class="bg-near-white black-70 pt4 pb5">
361+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
362362
<header class="ph3 ph5-ns pt4">
363363
<kbd class="yellow">src/_borders.css</kbd>
364364
</header>

src/templates/docs/box-sizing/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
7878
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing" class="link fw6 blue dim">MDN - Box Sizing</a>
7979
</div>
8080
</div>
81-
<section class="bg-near-white black-70 pt4 pb5">
81+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
8282
<header class="ph3 ph5-ns pt4">
8383
<kbd class="yellow">src/_box-sizing.css</kbd>
8484
</header>

src/templates/docs/clearfix/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
7272
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clears" class="link fw6 blue dim">MDN - Clears</a>
7373
</div>
7474
</div>
75-
<section class="bg-near-white black-70 pt4 pb5">
75+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
7676
<header class="ph3 ph5-ns pt4">
7777
<kbd class="yellow">src/_clearfix.css</kbd>
7878
</header>

src/templates/docs/debug/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
260260
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/outline" class="db link fw6 blue dim">MDN - Outline</a>
261261
</div>
262262
</div>
263-
<section class="bg-near-white black-70 pt4 pv4">
263+
<section class="bg-near-white black-70 pt4 pv4 overflow-container">
264264
<header class="ph3 ph5-ns pt4">
265265
<kbd class="yellow">src/_debug-children.css</kbd>
266266
</header>
@@ -276,7 +276,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
276276
</code>
277277
</pre>
278278
</section>
279-
<section class="bg-near-white black-70 pbxl">
279+
<section class="bg-near-white black-70 pb5 overflow-container">
280280
<header class="ph3 ph5-ns">
281281
<kbd class="yellow">src/_debug.css</kbd>
282282
</header>

src/templates/docs/display/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
148148
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/display" class="link fw6 blue dim">MDN - Box Sizing</a>
149149
</div>
150150
</div>
151-
<section class="bg-near-white black-70 pt4 pb5">
151+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
152152
<header class="ph3 ph5-ns pt4">
153153
<kbd class="yellow">src/_display.css</kbd>
154154
</header>

src/templates/docs/floats/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
8585
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/floats" class="link fw6 blue dim">MDN - Floats</a>
8686
</div>
8787
</div>
88-
<section class="bg-near-white black-70 pt4 pb5">
88+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
8989
<header class="ph3 ph5-ns pt4">
9090
<kbd class="yellow">src/_floats.css</kbd>
9191
</header>

src/templates/docs/font-family/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
8282
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-family" class="link fw6 blue dim">MDN - Font Family</a>
8383
</div>
8484
</div>
85-
<section class="bg-near-white black-70 pt4 pb5">
85+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
8686
<header class="ph3 ph5-ns pt4">
8787
<kbd class="yellow">src/_font-families.css</kbd>
8888
</header>

src/templates/docs/font-style/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
7070
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight" class="link fw6 blue dim">MDN - Font Weight</a>
7171
</div>
7272
</div>
73-
<section class="bg-near-white black-70 pt4 pb5">
73+
<section class="bg-near-white black-70 pt4 pb5 overflow-container">
7474
<header class="ph3 ph5-ns pt4">
7575
<kbd class="yellow">src/_font-style.css</kbd>
7676
</header>

0 commit comments

Comments
 (0)