Skip to content

Commit 0c3ffd2

Browse files
author
mrmrs
committed
Update product card with more padding
1 parent 36f6b49 commit 0c3ffd2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/collections/product-card/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<main>
1919
<article class="br2 ba dark-gray b--black-10 mv4 w-100 w-50-m w-25-l mw5 center">
2020
<img src="http://placekitten.com/g/600/300" class="db w-100 br2 br--top">
21-
<div class="pa1 ph3-ns pb3-ns">
21+
<div class="pa2 ph3-ns pb3-ns">
2222
<div class="dt w-100 mt1">
2323
<div class="dtc">
2424
<h1 class="f5 f4-ns mv0">Cat</h1>
@@ -44,7 +44,7 @@ <h2 class="f5">HTML</h2>
4444
<pre class="pa3 ba br2 b--black-05 h5" id="html">
4545
&lt;article class=&quot;br2 ba dark-gray b--black-10 mv4 w-100 w-50-m w-25-l mw5 center&quot;&gt;
4646
&lt;img src=&quot;http://placekitten.com/g/600/300&quot; class=&quot;db w-100 br2 br--top&quot;&gt;
47-
&lt;div class=&quot;pa1 ph3-ns pb3-ns&quot;&gt;
47+
&lt;div class=&quot;pa2 ph3-ns pb3-ns&quot;&gt;
4848
&lt;div class=&quot;dt w-100 mt1&quot;&gt;
4949
&lt;div class=&quot;dtc&quot;&gt;
5050
&lt;h1 class=&quot;f5 f4-ns mv0&quot;&gt;Cat&lt;/h1&gt;
@@ -114,8 +114,8 @@ <h2 class="f5">CSS</h2>
114114
color: #555;
115115
}
116116

117-
.pa1 {
118-
padding: .25rem;
117+
.pa2 {
118+
padding: .5rem;
119119
}
120120

121121
.mt1 {
@@ -224,7 +224,7 @@ <h2 class="f5 mt4">Modules referenced</h2>
224224
<h2 class="f5 mb3 mt4">CSS Stats for this Component</h2>
225225
<dl class="dib mr4 mt0">
226226
<dt class="db f6">Size (Gzipped)</dt>
227-
<dd class="ml0 b f3 f2-ns">454</dd>
227+
<dd class="ml0 b f3 f2-ns">457</dd>
228228
</dl>
229229
<dl class="dib mr4 mt0">
230230
<dt class="db f6">Selectors</dt>

src/components/collections/product-card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}}}
44
<article class="br2 ba dark-gray b--black-10 mv4 w-100 w-50-m w-25-l mw5 center">
55
<img src="http://placekitten.com/g/600/300" class="db w-100 br2 br--top">
6-
<div class="pa1 ph3-ns pb3-ns">
6+
<div class="pa2 ph3-ns pb3-ns">
77
<div class="dt w-100 mt1">
88
<div class="dtc">
99
<h1 class="f5 f4-ns mv0">Cat</h1>

0 commit comments

Comments
 (0)