Skip to content

Commit

Permalink
Merge pull request #253 from SOPT-all/design/#252/time-selector-fix
Browse files Browse the repository at this point in the history
[Design] timeSelector ์ˆ˜์ •
  • Loading branch information
heesunee authored Jan 23, 2025
2 parents 56ee47c + d1152f3 commit 63722da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const buttonStyle = style({
justifyContent: 'center',
alignItems: 'center',

width: '10.5rem',
width: '100%',
height: '3.2rem',
padding: '0rem 1rem',

Expand All @@ -21,7 +21,7 @@ export const timeValueWrapperStyle = style({
justifyContent: 'center',
alignItems: 'center',

width: '10.5rem',
width: '100%',
padding: '1.2rem 1rem',

borderRadius: '4px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface TimeControlProps {
onDecrease: () => void;
}
const TimeControl = ({ label, value, onIncrease, onDecrease }: TimeControlProps) => (
<Flex direction="column" align="center" gap="0.4rem">
<Flex direction="column" width="100%" align="center" gap="0.4rem">
<button onClick={onIncrease} className={styles.buttonStyle}>
<IcArrowUpGray1032 width={'3.2rem'} />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ const TimeStep = ({
};

return (
<Flex direction="column" paddingLeft="2rem" paddingRight="2rem">
<Flex direction="column">
<Head level="h2" tag="h6">
ํด๋ž˜์Šค ์‹œ์ž‘ ์‹œ๊ฐ„
</Head>

<Flex justify="center" gap="1rem" paddingTop="1.6rem" paddingBottom="2.4rem">
<Flex justify="center" gap="1rem" paddingTop="1.6rem" paddingBottom="2.4rem" width="100%">
<TimeControl
label="hour"
value={hour}
Expand Down

0 comments on commit 63722da

Please sign in to comment.