Ver código fonte

:art: removing pixel spacing and line clamps

tags/0.9.0
J 4 anos atrás
pai
commit
31c8e5926e

+ 2
- 3
vue-theme/src/components/card.vue Ver arquivo

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

+ 0
- 3
vue-theme/src/pages/index.vue Ver arquivo

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

+ 7
- 1
vue-theme/src/pages/single.vue Ver arquivo

23
         section.content(v-html="singlePost.content")
23
         section.content(v-html="singlePost.content")
24
 
24
 
25
         //- related artists section for episodes
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
             h2.t-up featured in this episode
27
             h2.t-up featured in this episode
28
             ul
28
             ul
29
                 li.f-row.between(v-for="artist in p2pPostsByType['artist']")
29
                 li.f-row.between(v-for="artist in p2pPostsByType['artist']")
310
         li
310
         li
311
             margin: 0 0 $ms--2 $ms-4
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
         breadcrumb
319
         breadcrumb
314
             h5
320
             h5
315
                 /* color: yellow */
321
                 /* color: yellow */

Carregando…
Cancelar
Salvar