Skip to content

Commit

Permalink
style: modify fontSize, margin in result page
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed May 10, 2024
1 parent 0fc40d9 commit bb57a9d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/(sub-page)/result/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function ResultPage({ searchParams }: ResultPageProp) {

return (
<div className="flex justify-center items-end">
<ContentContainer className="md:w-[700px] p-8">
<ContentContainer className="md:w-[700px] p-4 py-6 md:p-8">
<UserInfoCard />
</ContentContainer>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function ResultCategoryCard({ category, totalCredit, takenCredit }: ResultCatego
<div
className={cn(
'flex flex-col gap-6 zIndex-1 rounded-xl shadow-md bg-white p-4 m-auto w-full',
'md:p-[1.8rem] max-w-72',
'md:p-[1.8rem] max-w-80',
)}
>
<div className="flex justify-between items-center">
Expand Down
4 changes: 2 additions & 2 deletions app/ui/user/user-info-card/user-info-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ function UserInfoCard() {
<li>불가능</li>
</ul>
</div>
<div className="md:px-10">
<div className="mr-[10%]">
<PieChart percentage={77} />
</div>
</div>
<p className="text-gray-6 text-xs">
<p className="text-gray-6 md:text-xs text-[10px]">
* 서비스의 결과는 공식적인 효력을 갖지 않습니다. 정확한 졸업사정결과는 소속 단과대 교학팀에서의 확인을
권장합니다.
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/ui/view/molecule/pie-chart/pie-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function PieChart({ percentage }: PieChartProp) {
style={{
'--percentage': percentage,
'--startRadius': isDesktop ? '1.5rem' : '1.1rem',
'--endRadius': isDesktop ? '0.74rem' : '0.52rem',
'--endRadius': isDesktop ? '0.74rem' : '0.50rem',
'--pieSize': isDesktop ? '9rem' : '6.5rem',
}}
>
Expand Down

0 comments on commit bb57a9d

Please sign in to comment.