状态码统计布局问题

This commit is contained in:
wood chen 2024-12-05 11:21:30 +08:00
parent 1f2f78dc64
commit ea4e7cc70b

View File

@ -383,7 +383,8 @@ var metricsTemplate = `
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 15px; gap: 15px;
justify-content: flex-start; justify-content: space-between;
width: 100%;
} }
.status-item { .status-item {
@ -393,7 +394,9 @@ var metricsTemplate = `
background: white; background: white;
padding: 10px; padding: 10px;
border-radius: 6px; border-radius: 6px;
flex: 1;
min-width: 80px; min-width: 80px;
max-width: 120px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1); box-shadow: 0 1px 3px rgba(0,0,0,0.1);
} }
@ -518,7 +521,7 @@ var metricsTemplate = `
</div> </div>
<div class="card"> <div class="card">
<h2>状态</h2> <h2>状态</h2>
<div id="statusCodes"></div> <div id="statusCodes"></div>
</div> </div>