个人中心页面调整样式

This commit is contained in:
Eamon-meng
2025-06-10 19:09:19 +08:00
parent 87621202a9
commit 7bceedb8f2
3 changed files with 25 additions and 26 deletions

View File

@@ -80,7 +80,7 @@ type DashboardChartProps = {
}
function Pins(props: DashboardChartProps) {
return (
<div className="flex md:row-start-2 md:col-start-1 md:col-span-3 gap-4">
<div className="flex md:row-start-2 md:col-start-1 md:col-span-3 gap-4 max-md:flex-col">
{/* 短效 */}
<Card className="flex-1">
<CardHeader>
@@ -94,7 +94,7 @@ function Pins(props: DashboardChartProps) {
<h4></h4>
<p className="flex flex-col items-end">
<span className="text-sm text-weak"></span>
<span className="text-sm">{props.short_term ? props.short_term : '1'}</span>
<span className="text-sm">{props.short_term}</span>
</p>
</div>
<div className="border-b"></div>