Przeglądaj źródła

:art: removing pixel spacing and line clamps

tags/0.9.0
J 4 lat temu
rodzic
commit
31c8e5926e

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

@@ -49,6 +49,8 @@ export default {
49 49
             font-size: $ms--2
50 50
             text-decoration: none
51 51
             margin: 0
52
+            p
53
+                margin: 0
52 54
     img
53 55
         width: 100%
54 56
         height: auto
@@ -64,9 +66,6 @@ export default {
64 66
             margin: 0 0 calc($ms-0/2) 0
65 67
             line-height: calc($ms-0/2)
66 68
         &.excerpt
67
-            display: -webkit-box
68
-            -webkit-line-clamp: 4
69
-            -webkit-box-orient: vertical
70 69
             overflow: hidden
71 70
             margin: 0 0 $ms--2 0
72 71
 

+ 0
- 3
vue-theme/src/pages/index.vue Wyświetl plik

@@ -120,11 +120,8 @@ export default {
120 120
 @media (min-width: $medium)
121 121
     .page--index > article > section
122 122
         &.stickies
123
-            margin: 0 0 2% 0
124 123
             .post 
125 124
                 min-width: 24.25%
126
-        &.max 
127
-            margin: 35px 0 20px
128 125
         ul
129 126
             display: grid
130 127
             grid-template-columns: 

+ 7
- 1
vue-theme/src/pages/single.vue Wyświetl plik

@@ -23,7 +23,7 @@
23 23
         section.content(v-html="singlePost.content")
24 24
 
25 25
         //- related artists section for episodes
26
-        section(v-if="type === 'episode' && post" :post="post")
26
+        section(v-if="type === 'episode' && post").related-artists
27 27
             h2.t-up featured in this episode
28 28
             ul
29 29
                 li.f-row.between(v-for="artist in p2pPostsByType['artist']")
@@ -310,6 +310,12 @@ export default {
310 310
         li
311 311
             margin: 0 0 $ms--2 $ms-4
312 312
 
313
+        .related-artists
314
+            ul li
315
+                margin: 0
316
+                .card
317
+                    padding: 0
318
+
313 319
         breadcrumb
314 320
             h5
315 321
                 /* color: yellow */

Ładowanie…
Anuluj
Zapisz