浏览代码

모바일 반도산전은

home 5 月之前
父节点
当前提交
e0000fa715
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/components/main/Business.tsx

+ 4 - 4
src/components/main/Business.tsx

@@ -68,10 +68,10 @@ const RankSection = ({title, rank, topPercent, visible, colorPrimary, colorSecon
             </div>
 
             <div
-              className="flex text-blue-900 text-xl sm:text-3xl lg:text-6xl font-bold font-['Noto_Sans_KR'] antialiased"
+              className="flex items-center text-blue-900 text-xl sm:text-3xl lg:text-6xl font-bold font-['Noto_Sans_KR'] antialiased"
               style={{ opacity: animatedRank.opacity }}
             >
-              {animatedRank.count}
+              <div>{animatedRank.count}</div>
               <span className="text-lg sm:text-xl lg:text-3xl ml-1">위</span>
             </div>
           </div>
@@ -82,10 +82,10 @@ const RankSection = ({title, rank, topPercent, visible, colorPrimary, colorSecon
               상위
             </div>
             <div
-              className="text-blue-900 text-xl sm:text-3xl lg:text-6xl font-bold font-['Noto_Sans_KR'] antialiased"
+              className="text-blue-900 flex items-center text-xl sm:text-3xl lg:text-6xl font-bold font-['Noto_Sans_KR'] antialiased"
               style={{ opacity: animatedPercent.opacity }}
             >
-              {animatedPercent.count}
+              <div>{animatedPercent.count}</div>
               <span className="text-lg sm:text-xl lg:text-3xl ml-1">%</span>
             </div>
           </div>