Преглед изворни кода

💄 style(FinancialDashboard): fix debt ratio text wrapping issue

- change whitespace-pre-wrap to whitespace-nowrap for "资产负债率" text to prevent line breaks
yourname пре 2 месеци
родитељ
комит
2e6fd946e7

+ 1 - 1
src/client/home/pages/FinancialDashboard/components/DebtRatioMetrics.tsx

@@ -74,7 +74,7 @@ export function DebtRatioMetrics({ className }: DebtRatioMetricsProps) {
                   </div>
                 </div>
                 <div className="flex flex-col justify-center leading-[0] relative shrink-0 text-[18px] text-white w-[83px]">
-                  <p className="leading-[25.2px] whitespace-pre-wrap">资产负债率</p>
+                  <p className="leading-[25.2px] whitespace-nowrap">资产负债率</p>
                 </div>
               </div>
             </div>