Skip to content

Commit

Permalink
style: mobile 버전에만 노출되게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jieunpark247 committed Jul 5, 2023
1 parent 105ef3a commit dd70126
Showing 1 changed file with 27 additions and 12 deletions.
39 changes: 27 additions & 12 deletions src/components/BottomButton/BottomButton.css.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
import { style } from '@vanilla-extract/css';
import { themeTokens } from '@/styles/theme.css';
import { themeTokens, screenMQ } from '@/styles/theme.css';
import { fontVariant } from '@/styles/variant.css';

const { space, zIndices, color } = themeTokens;

export const wrapper = style({
position: 'fixed',
left: space.none,
bottom: space.none,
right: space.none,
display: 'flex',
zIndex: zIndices.sticky,
width: '100%',
height: '82px',
backgroundColor: color.white,
flexDirection: 'row',
padding: '8Px 20px 20px',
display: 'none',
'@media': {
[screenMQ.m]: {
display: 'inline-block',
position: 'fixed',
left: space.none,
bottom: space.none,
right: space.none,
zIndex: zIndices.sticky,
width: '100%',
backgroundColor: color.white,
flexDirection: 'row',
padding: `${space.none} ${space.xl} ${space.xl}`,
},
},
});
export const error = style({
marginTop: space.xl,
display: 'block',
color: color.red500,
...fontVariant.label3,
});

export const button = style({
marginTop: space.sm,
});

0 comments on commit dd70126

Please sign in to comment.