Przeglądaj źródła

styling edit - card padding adjust

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

+ 5
- 3
vue-theme/src/components/card.vue Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz