Skip to content

Commit 0e4c140

Browse files
committed
style tweaks
1 parent af99bcb commit 0e4c140

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

apps/svelte.dev/src/routes/packages/Category.svelte

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@
6969
7070
.content {
7171
display: grid;
72-
grid-template-columns: repeat(3, 1fr);
72+
grid-template-columns: 1fr;
7373
gap: 2rem;
7474
margin-top: 1rem;
75+
76+
@media (min-width: 1024px) {
77+
grid-template-columns: repeat(3, 1fr);
78+
}
7579
}
7680
7781
.item {
@@ -81,7 +85,7 @@
8185
8286
.show-more-container {
8387
display: flex;
84-
justify-content: flex-start;
88+
justify-content: flex-end;
8589
margin-top: 2rem;
8690
8791
label {
@@ -101,13 +105,15 @@
101105
}
102106
103107
button {
104-
/* width: 10rem; */
108+
order: 1;
105109
}
106-
}
107110
108-
@media (max-width: 1024px) {
109-
.content {
110-
grid-template-columns: 1fr;
111+
@media (min-width: 1024px) {
112+
justify-content: flex-start;
113+
114+
button {
115+
order: 0;
116+
}
111117
}
112118
}
113119
</style>

0 commit comments

Comments
 (0)