Selaa lähdekoodia

styling - padding specificity on wide card

tags/0.9.0
Alej 4 vuotta sitten
vanhempi
commit
fef5961c3d
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4
    2
      vue-theme/src/components/card.vue

+ 4
- 2
vue-theme/src/components/card.vue Näytä tiedosto

@@ -3,7 +3,7 @@
3 3
     header
4 4
         router-link(v-if="!hideType" :to="`/${type}`")
5 5
             p.t-up {{type}}
6
-    section.card--info(:class="{ 'wide': wide }")
6
+    article.card--info(:class="{ 'wide': wide }")
7 7
         router-link(:to="`/${type}/${content.slug}`")
8 8
             //- set image to thumbnail setting
9 9
             featured-image(:post="content")
@@ -43,7 +43,8 @@ export default {
43 43
         margin: 0
44 44
     h1
45 45
         font-size: $ms-1
46
-        color: $cia_black
46
+        /* color: $cia_black */
47
+    
47 48
 
48 49
     
49 50
 /* for widths larger than 768px */
@@ -56,6 +57,7 @@ export default {
56 57
         .wide
57 58
             display: flex
58 59
             /* padding: $ms-0 0 */
60
+            padding: 0
59 61
             grid-gap: $ms-0
60 62
             /* img */
61 63
                 /* width: 100% */

Loading…
Peruuta
Tallenna