Skip to content

Commit 0b2fa2b

Browse files
committed
style: grid-layout 모바일 view 수정
1 parent 278afe5 commit 0b2fa2b

File tree

1 file changed

+6
-2
lines changed
  • app/(sub)/capsule-detail/[invite-code]/[id]/letters/_components/grid-layout

1 file changed

+6
-2
lines changed

app/(sub)/capsule-detail/[invite-code]/[id]/letters/_components/grid-layout/grid-layout.css.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@ import { style } from "@vanilla-extract/css";
33

44
export const container = style({
55
width: "100vw",
6-
padding: "2rem",
76
maxWidth: "120rem",
7+
padding: "0.8rem",
8+
...screen.md({
9+
padding: "1.6rem",
10+
}),
811
});
912

1013
export const grid = style({
1114
display: "grid",
1215
gridTemplateColumns: "repeat(auto-fill, minmax(16.4rem, 1fr))",
13-
gap: "2.8rem 1.2rem",
1416
margin: "0 auto",
1517
maxWidth: "120rem",
18+
gap: "2.4rem 0.8rem",
1619
...screen.md({
1720
gridTemplateColumns: "repeat(auto-fill, minmax(24rem, 1fr))",
21+
gap: "2.8rem 1.2rem",
1822
}),
1923
});

0 commit comments

Comments
 (0)