Skip to content

Commit

Permalink
fix: pass breakpoints directly
Browse files Browse the repository at this point in the history
  • Loading branch information
aube-dev committed Sep 28, 2024
1 parent df00010 commit 97f0cd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/components/common/FormInput/FormInput.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const textInputContainer = style({
borderWidth: '1px',
height: '33px',
'@media': {
[getMediaQuery([Breakpoint.MOBILE2, Breakpoint.MOBILE1])]: {
[getMediaQuery(Breakpoint.MOBILE2, Breakpoint.MOBILE1)]: {
gap: '6px',
height: '31px',
},
Expand All @@ -32,7 +32,7 @@ export const textInputIcon = style({
width: '16px',
height: '16px',
'@media': {
[getMediaQuery([Breakpoint.MOBILE2, Breakpoint.MOBILE1])]: {
[getMediaQuery(Breakpoint.MOBILE2, Breakpoint.MOBILE1)]: {
width: '12px',
height: '12px',
},
Expand Down Expand Up @@ -67,7 +67,7 @@ export const imageInputContainer = style({
cursor: 'pointer',
overflow: 'hidden',
'@media': {
[getMediaQuery([Breakpoint.MOBILE2, Breakpoint.MOBILE1])]: {
[getMediaQuery(Breakpoint.MOBILE2, Breakpoint.MOBILE1)]: {
width: '80px',
height: '80px',
borderRadius: '40px',
Expand Down
2 changes: 1 addition & 1 deletion app/components/common/FormItem/FormItem.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const caption = style([
display: 'block',
minHeight: `${textStyleInfo.body2R.pc.lineHeight}px`,
'@media': {
[getMediaQuery([Breakpoint.MOBILE2, Breakpoint.MOBILE1])]: {
[getMediaQuery(Breakpoint.MOBILE2, Breakpoint.MOBILE1)]: {
minHeight: `${textStyleInfo.body2R.mobile.lineHeight}px`,
},
},
Expand Down

0 comments on commit 97f0cd6

Please sign in to comment.