Skip to content

Commit 7f72a8f

Browse files
author
Lachlan Campbell
committed
Clean up measure/line height on display docs
1 parent be158db commit 7f72a8f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/layout/display/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h3 class="f5 book pt4 caps">Display Block</h3>
8787
<code class="f6">
8888
&lt;span class="db"&gt;&lt;/span&gt;
8989
</code>
90-
<p>Block will inherently set width to 100% of its parent element. It will also cause a line break, even if the declared width doesn't take up the full width of the parent.</p>
90+
<p class="measure lh-copy">Block will inherently set width to 100% of its parent element. It will also cause a line break, even if the declared width doesn't take up the full width of the parent.</p>
9191
<div class="db bg-black-10 mb2">
9292
block
9393
</div>
@@ -100,7 +100,7 @@ <h3 class="f5 book pt4 caps">Display Inline-Block</h3>
100100
<code class="f6">
101101
&lt;span class="dib"&gt;&lt;/span&gt;
102102
</code>
103-
<p class="measure">
103+
<p class="measure lh-copy">
104104
Inline-block will wrap around content inline. It also allows you to set
105105
height and width properties on the element, which display inline does not allow
106106
you to do. It does render the white-space inbeween elements, so if you set
@@ -125,7 +125,7 @@ <h3 class="f5 book pt4 caps">Display Inline</h3>
125125
<code class="f6">
126126
&lt;div class="di"&gt;&lt;/div&gt;
127127
</code>
128-
<p class="measure">
128+
<p class="measure lh-copy">
129129
Set content inline. Inline doesn't respect height or width values. It does not render white space between elements.
130130
</p>
131131
<div class="di bg-black-10 mb2">
@@ -149,10 +149,10 @@ <h3 class="f5 book pt4 caps">Display Table</h3>
149149
&nbsp;&nbsp; &lt;div class="dtc"&gt;&lt;/div&gt;<br>
150150
&lt;/div&gt;
151151
</code>
152-
<p class="measure">
152+
<p class="measure lh-copy">
153153
Display table can be combined with display table-cell to render a table
154154
without table markup. This can be useful for vertically aligning content
155-
or for auto-calculating a variable amount of table cells.
155+
or for auto-calculating a variable number of table cells.
156156
</p>
157157
<div class="dt bg-black-10 mb2 w-100">
158158
<div class="dtc v-mid pa1 bg-black-10">display</div>
@@ -165,7 +165,7 @@ <h3 class="f5 book pt4 caps">Display None</h3>
165165
<code class="f6">
166166
&lt;div class="dn"&gt;&lt;/div&gt;
167167
</code>
168-
<p class="measure">
168+
<p class="measure lh-copy">
169169
You can set the display of any element to none by tacking on the <code class="code">dn</code> class.
170170
</p>
171171

src/templates/docs/display/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h3 class="f5 book pt4 caps">Display Block</h3>
5151
<code class="f6">
5252
&lt;span class="db"&gt;&lt;/span&gt;
5353
</code>
54-
<p>Block will inherently set width to 100% of its parent element. It will also cause a line break, even if the declared width doesn't take up the full width of the parent.</p>
54+
<p class="measure lh-copy">Block will inherently set width to 100% of its parent element. It will also cause a line break, even if the declared width doesn't take up the full width of the parent.</p>
5555
<div class="db bg-black-10 mb2">
5656
block
5757
</div>
@@ -64,7 +64,7 @@ <h3 class="f5 book pt4 caps">Display Inline-Block</h3>
6464
<code class="f6">
6565
&lt;span class="dib"&gt;&lt;/span&gt;
6666
</code>
67-
<p class="measure">
67+
<p class="measure lh-copy">
6868
Inline-block will wrap around content inline. It also allows you to set
6969
height and width properties on the element, which display inline does not allow
7070
you to do. It does render the white-space inbeween elements, so if you set
@@ -89,7 +89,7 @@ <h3 class="f5 book pt4 caps">Display Inline</h3>
8989
<code class="f6">
9090
&lt;div class="di"&gt;&lt;/div&gt;
9191
</code>
92-
<p class="measure">
92+
<p class="measure lh-copy">
9393
Set content inline. Inline doesn't respect height or width values. It does not render white space between elements.
9494
</p>
9595
<div class="di bg-black-10 mb2">
@@ -113,10 +113,10 @@ <h3 class="f5 book pt4 caps">Display Table</h3>
113113
&nbsp;&nbsp; &lt;div class="dtc"&gt;&lt;/div&gt;<br>
114114
&lt;/div&gt;
115115
</code>
116-
<p class="measure">
116+
<p class="measure lh-copy">
117117
Display table can be combined with display table-cell to render a table
118118
without table markup. This can be useful for vertically aligning content
119-
or for auto-calculating a variable amount of table cells.
119+
or for auto-calculating a variable number of table cells.
120120
</p>
121121
<div class="dt bg-black-10 mb2 w-100">
122122
<div class="dtc v-mid pa1 bg-black-10">display</div>
@@ -129,7 +129,7 @@ <h3 class="f5 book pt4 caps">Display None</h3>
129129
<code class="f6">
130130
&lt;div class="dn"&gt;&lt;/div&gt;
131131
</code>
132-
<p class="measure">
132+
<p class="measure lh-copy">
133133
You can set the display of any element to none by tacking on the <code class="code">dn</code> class.
134134
</p>
135135

0 commit comments

Comments
 (0)