Skip to content

Commit

Permalink
design: timeSelector ์ˆ˜์ • (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
heesunee committed Jan 23, 2025
1 parent 97c172a commit d1152f3
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 d1152f3

Please sign in to comment.