Skip to content

Commit

Permalink
feat(docs): 모바일 환경에서 문서 기여자 리스트 width 증가, 폰트 사이즈 축소
Browse files Browse the repository at this point in the history
  • Loading branch information
5ewon committed Apr 13, 2024
1 parent b15a282 commit e5098ce
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/(docs)/docs/[title]/style.css.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { flex, font, theme } from "@/styles";
import { flex, font, theme, screen } from "@/styles";
import { style } from "@vanilla-extract/css";

export const container = style({
Expand Down Expand Up @@ -44,6 +44,12 @@ export const contributorList = style({
flexWrap: "wrap",
gap: "12px",
...flex.VERTICAL,

"@media": {
[`screen and (max-width: ${screen.phone})`]: {
width: "100%",
},
},
});

export const contributor = style({
Expand All @@ -58,4 +64,10 @@ export const contributor = style({
export const warning = style({
color: theme.red,
...font.H6,

"@media": {
[`screen and (max-width: ${screen.phone})`]: {
...font.p4,
},
},
});

0 comments on commit e5098ce

Please sign in to comment.