Przeglądaj źródła

:art: adjusting base size for proportion calc

tags/0.9.0
J 4 lat temu
rodzic
commit
22b42bcfc6

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

@@ -57,7 +57,7 @@ export default {
57 57
         margin: 0
58 58
     h1
59 59
         font-size: $ms-1
60
-        padding: $ms--5 0 $ms--3 0
60
+        padding: $ms--5 0
61 61
     p
62 62
         &.datetime
63 63
             font-size: $ms--1
@@ -68,6 +68,7 @@ export default {
68 68
             -webkit-line-clamp: 4
69 69
             -webkit-box-orient: vertical
70 70
             overflow: hidden
71
+            margin: 0 0 $ms--2 0
71 72
 
72 73
     
73 74
 /* for widths larger than 768px */

+ 1
- 1
vue-theme/src/sss/variables.sss Wyświetl plik

@@ -10,7 +10,7 @@ $radius: 2.5vw
10 10
 $path: 4px
11 11
 
12 12
 /* Proportion */
13
-$base: 1.0em
13
+$base: 0.95em
14 14
 
15 15
 $ratio: $minor-third
16 16
 /* $ratio = 1.2 from _ratios.sss */

Ładowanie…
Anuluj
Zapisz