Skip to content

Commit

Permalink
design: 반응형에 따른 textStyle 조정 (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonddori authored Mar 21, 2024
1 parent 4942af7 commit eaf31c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/containers/team/AttendanceRate/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CircularProgress, CircularProgressLabel, useBreakpointValue } from '@chakra-ui/react';
import { CircularProgress, CircularProgressLabel, useBreakpointValue, Text } from '@chakra-ui/react';

import { AttendanceRateProps } from './types';

Expand All @@ -15,8 +15,8 @@ const AttendanceRate = ({ attendanceRate }: AttendanceRateProps) => {
thickness="5"
value={attendanceRate}
>
<CircularProgressLabel color="orange" fontSize="2xl" fontWeight="bold">
{attendanceRate}%
<CircularProgressLabel color="orange">
<Text textStyle={useBreakpointValue({ base: 'bold_md', md: 'bold_2xl' })}>{attendanceRate}%</Text>
</CircularProgressLabel>
</CircularProgress>
);
Expand Down

0 comments on commit eaf31c1

Please sign in to comment.