Skip to content

Commit

Permalink
Merge pull request #251 from SOPT-all/fix/#244/web-qa1
Browse files Browse the repository at this point in the history
[Fix] 웹 QA 1차 커밋
  • Loading branch information
hansoojeongsj authored Jan 23, 2025
2 parents 97c172a + cb87349 commit 8f25588
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const TabLocation = ({ lessonData }: { lessonData: LessonDetailApiResponse }) =>

<Flex justify="spaceBetween">
<Flex marginRight="0.4rem">
<Text tag="b7" color="gray6">
<Text tag="b7" color="gray6" className={addressTitleStyle}>
지번
</Text>
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export const classImageStyle = style({
height: '9.1rem',

borderRadius: '4px',
backgroundColor: vars.colors.gray02
backgroundColor: vars.colors.gray02,
objectFit: 'cover',
});

export const deadlineTagStyle = style({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ const DancerClassItem = ({
</Tag>
);
}
if (lessonRemainingDays == 0) {
return (
<Tag type="deadline" size="thumbnail" className={deadlineTagStyle}>
D-DAY
</Tag>
);
}
if (lessonRemainingDays <= 4) {
return (
<Tag type="deadline" size="thumbnail" className={deadlineTagStyle}>
Expand Down
1 change: 1 addition & 0 deletions src/pages/dancer/components/DancerInfo/index.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const lastClassItemStyle = style({

export const detailStyle = style({
whiteSpace: 'pre-line',
wordBreak: 'break-word',
});

export const emptyStyle = style({
Expand Down

0 comments on commit 8f25588

Please sign in to comment.