Przeglądaj źródła

styling - padding specificity on wide card

tags/0.9.0
Alej 4 lat temu
rodzic
commit
fef5961c3d
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4
    2
      vue-theme/src/components/card.vue

+ 4
- 2
vue-theme/src/components/card.vue Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz