Skip to content

Commit bb87ec2

Browse files
author
mrmrs
committed
Fix height
1 parent 456e365 commit bb87ec2

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

components/pages/4x4-mixed-grid/index.html

+14-12
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<body class="w-100 sans-serif bg-white black-80 helvetica">
2626
<main>
2727
<article class="cf pa3 mw9 center">
28-
<header class="h5 fl w-100 w-50-l pa4-ns">
28+
<header class="fl w-100 w-50-l pa4-ns mb3 mb5-ns">
2929
<h2 class="lh-title f3 b mt0">
3030
Beginners and amateurs alike overestimate the importance of the
3131
so-called brain wave, the sudden brilliant idea.
@@ -143,7 +143,7 @@ <h2 class="f5">HTML</h2>
143143
<p class="f5 black-70"></p>
144144
<pre class="pa3 ba br2 b--black-10 h5 bg-white-20" id="html">
145145
&lt;article class=&quot;cf pa3 mw9 center&quot;&gt;
146-
&lt;header class=&quot;h5 fl w-100 w-50-l pa4-ns&quot;&gt;
146+
&lt;header class=&quot;fl w-100 w-50-l pa4-ns mb3 mb5-ns&quot;&gt;
147147
&lt;h2 class=&quot;lh-title f3 b mt0&quot;&gt;
148148
Beginners and amateurs alike overestimate the importance of the
149149
so-called brain wave, the sudden brilliant idea.
@@ -288,10 +288,6 @@ <h2 class="f5">css</h2>
288288
font-weight: bold;
289289
}
290290

291-
.h5 {
292-
height: 16rem;
293-
}
294-
295291
.lh-title {
296292
line-height: 1.25;
297293
}
@@ -312,6 +308,10 @@ <h2 class="f5">css</h2>
312308
padding: 1rem;
313309
}
314310

311+
.mb3 {
312+
margin-bottom: 1rem;
313+
}
314+
315315
.mt0 {
316316
margin-top: 0;
317317
}
@@ -357,6 +357,10 @@ <h2 class="f5">css</h2>
357357
.pa4-ns {
358358
padding: 2rem;
359359
}
360+
361+
.mb5-ns {
362+
margin-bottom: 4rem;
363+
}
360364
}
361365

362366
@media screen and (min-width: 30em) and (max-width: 60em) {
@@ -383,16 +387,16 @@ <h2 class="f5">css</h2>
383387
<h2 class="f5 mb3 mt4">Css stats for this component</h2>
384388
<dl class="dib mr4 mt0">
385389
<dt class="db f6">Gzipped Size</dt>
386-
<dd class="ml0 b f3 f2-ns">491<small class="f6">B</small>
390+
<dd class="ml0 b f3 f2-ns">506<small class="f6">B</small>
387391
</dd>
388392
</dl>
389393
<dl class="dib mr4 mt0">
390394
<dt class="db f6">Selectors</dt>
391-
<dd class="ml0 b f3 f2-ns">26</dd>
395+
<dd class="ml0 b f3 f2-ns">27</dd>
392396
</dl>
393397
<dl class="dib mt0">
394398
<dt class="db f6">Declarations</dt>
395-
<dd class="ml0 b f3 f2-ns">37</dd>
399+
<dd class="ml0 b f3 f2-ns">38</dd>
396400
</dl>
397401
</div>
398402
<div class="fl w-100">
@@ -409,8 +413,6 @@ <h2 class="f5 mt4">Modules referenced</h2>
409413

410414
<li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-font-weight">tachyons-font-weight</a></li>
411415

412-
<li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-heights">tachyons-heights</a></li>
413-
414416
<li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-line-height">tachyons-line-height</a></li>
415417

416418
<li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-max-widths">tachyons-max-widths</a></li>
@@ -433,7 +435,7 @@ <h2 class="f5 mt4">Modules referenced</h2>
433435

434436

435437
<h4 class="mt5">Install via npm <small class="fw2 f6 db mt1">Only installs the needed tachyons-modules for this component</small></h4>
436-
<code class="f6">npm i --save tachyons-background-size tachyons-background-position tachyons-clears tachyons-floats tachyons-font-weight tachyons-heights tachyons-line-height tachyons-max-widths tachyons-widths tachyons-spacing tachyons-type-scale tachyons-typography tachyons-utilities</code>
438+
<code class="f6">npm i --save tachyons-background-size tachyons-background-position tachyons-clears tachyons-floats tachyons-font-weight tachyons-line-height tachyons-max-widths tachyons-widths tachyons-spacing tachyons-type-scale tachyons-typography tachyons-utilities</code>
437439
<section class="bt b--black-10 mt5 pv4">
438440
<h1 class="f6 b ttu">Other Components</h1>
439441

0 commit comments

Comments
 (0)