Skip to content

Commit

Permalink
chore: Merge branch 'main' into cypress-e2e/#108
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghunYang committed May 29, 2024
2 parents c9bc0ca + e55c912 commit 3494c2c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import Skeleton from '../../../utils/skeleton';

function ResultCategoryCardSkeleton() {
return (
<div
className={cn('flex flex-col gap-6 zIndex-1 rounded-xl shadow-lg bg-white p-[0.4rem]', 'md:w-80 md:p-[1.8rem]')}
>
<div className={cn('flex flex-col gap-6 z-1 rounded-xl shadow-lg bg-white p-[0.4rem]', 'md:w-80 md:p-[1.8rem]')}>
<div className="flex justify-between items-center">
<div className={cn('flex gap-4 font-bold text-sm', 'md:text-xl')}>
<Image src={Book} width={24} height={24} alt="category-img" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function ResultCategoryCard({ category, totalCredit, takenCredit }: ResultCatego
return (
<div
className={cn(
'flex flex-col gap-6 zIndex-1 rounded-xl shadow-md bg-white p-4 m-auto w-full',
'flex flex-col gap-6 z-1 rounded-xl shadow-md bg-white p-4 m-auto w-full',
'md:p-[1.8rem] max-w-80',
)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function ResultCategoryDetailContent({ info }: ResultCategoryDetailContentProps)
checked={isTakenLecture}
data-testid="lecture-toggle"
onCheckedChange={setIsTakenLectrue}
className="absolute zIndex-2"
className="absolute z-2"
/>
</div>
<span>과목이 표시됩니다.</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ResultCategoryDetailLectureToggle = React.forwardRef<
{...props}
ref={ref}
>
<div className={cn('zIndex-1 absolute text-white text-base', props.checked ? 'left-1' : 'right-1')}>
<div className={cn('z-1 absolute text-white text-base', props.checked ? 'left-1' : 'right-1')}>
{props.checked ? '기이수' : '미이수'}
</div>
<SwitchPrimitives.Thumb
Expand Down
2 changes: 1 addition & 1 deletion app/ui/user/user-credit-result/user-credit-result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function UserCreditResult() {
<div className="relative sm:h-20 sm:w-20 h-14 w-14">
<Image src={pencil} alt="pencil" layout="fill" />
</div>
<p className="zIndex-1 text-sm md:text-base lg:text-lg">
<p className="z-1 text-sm md:text-base lg:text-lg">
{userInfo.studentName}님, 총 기준학점 중 <span className="text-point-blue">{userInfo.takenCredit}</span>학점을
수강하셨습니다!
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/ui/view/atom/content-container/content-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function ContentContainer({ children, size = 'md', className }: C
return (
<div
className={twMerge(
'absolute bg-white top-[7rem] zIndex-1 rounded-xl shadow-lg max-md:w-full',
'absolute bg-white top-[7rem] z-1 rounded-xl shadow-lg max-md:w-full',
size === 'md' ? 'md:w-[70%]' : 'md:w-[80%]',
className,
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function AnnounceMessageBox({ message }: AnnounceMessageBoxProp) {
height={36}
alt="category-fullfill-image"
/>
<p className={cn('zIndex-1 text-sm', 'md:text-lg')}>{message}</p>
<p className={cn('z-1 text-sm', 'md:text-lg')}>{message}</p>
</div>
</div>
);
Expand Down

0 comments on commit 3494c2c

Please sign in to comment.