调整总结卡片容器宽度以适配780截图视口减少左右留白

This commit is contained in:
liuwei
2026-04-23 11:46:36 +08:00
parent 5a481f1852
commit 71c64970e6

View File

@@ -18,7 +18,7 @@
} }
.report-container { .report-container {
width: 520px; width: min(760px, calc(100vw - 16px));
margin: 0 auto; margin: 0 auto;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
@@ -52,7 +52,7 @@
} }
</style> </style>
</head> </head>
<body class="py-3"> <body class="py-2">
<div class="report-container"> <div class="report-container">
<header class="p-3 border-b border-slate-100"> <header class="p-3 border-b border-slate-100">
<div class="flex justify-between items-start mb-3 gap-2"> <div class="flex justify-between items-start mb-3 gap-2">