File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { formatDate } from "../date";
28
28
{ formatDate (post .data .pubDate )}
29
29
</p >
30
30
31
- <p >
31
+ <p class = " post-summary " >
32
32
{ post .data .summary }
33
33
</p >
34
34
</a >
@@ -38,9 +38,13 @@ import { formatDate } from "../date";
38
38
.post-container {
39
39
display: grid;
40
40
grid-template-rows: auto auto;
41
- grid-template-columns: auto max-content ;
41
+ grid-template-columns: auto;
42
42
align-items: top;
43
43
column-gap: 1rem;
44
+
45
+ @media(min-width: 600px) {
46
+ grid-template-columns: auto max-content;
47
+ }
44
48
}
45
49
46
50
.post-container.draft {
@@ -50,4 +54,10 @@ import { formatDate } from "../date";
50
54
p {
51
55
color: var(--text-color-alt);
52
56
}
57
+
58
+ .post-summary {
59
+ @media(max-width: 600px) {
60
+ padding-top: 10px;
61
+ }
62
+ }
53
63
</style >
You can’t perform that action at this time.
0 commit comments