Kaynağa Gözat

styling edit - card padding adjust

tags/0.9.0
Alej 4 yıl önce
ebeveyn
işleme
7237ba96de
1 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 5
    3
      vue-theme/src/components/card.vue

+ 5
- 3
vue-theme/src/components/card.vue Dosyayı Görüntüle

25
 @import '../sss/variables.sss'
25
 @import '../sss/variables.sss'
26
 @import '../sss/theme.sss'
26
 @import '../sss/theme.sss'
27
 .card
27
 .card
28
-    padding: $ms--3 $ms-0 $ms-0
28
+    /* padding: $ms--3 */
29
     overflow: hidden
29
     overflow: hidden
30
     text-overflow: clip
30
     text-overflow: clip
31
     &--info
31
     &--info
32
+        padding: $ms--3
32
         justify-content: center
33
         justify-content: center
33
     header
34
     header
34
         a
35
         a
37
         width: 100%
38
         width: 100%
38
         height: auto
39
         height: auto
39
     h1, h2, h3, p
40
     h1, h2, h3, p
40
-        padding: $ms--7 0
41
+        padding: $ms--3
41
         margin: 0
42
         margin: 0
42
     h1
43
     h1
43
         font-size: $ms-1
44
         font-size: $ms-1
44
         color: $cia_black
45
         color: $cia_black
45
     
46
     
46
-
47
+/* for widths larger than 768px */
47
 @media (min-width: $medium)
48
 @media (min-width: $medium)
48
     .card
49
     .card
49
         &--info 
50
         &--info 
56
             /* img */
57
             /* img */
57
                 /* width: 100% */
58
                 /* width: 100% */
58
                 /* padding: 0 $ms-0 0 0 */
59
                 /* padding: 0 $ms-0 0 0 */
60
+            /* padding: $ms-0 0 */
59
             w-max
61
             w-max
60
             
62
             
61
 </style>
63
 </style>

Loading…
İptal
Kaydet