Commit eab30c25 authored by 郭阔's avatar 郭阔

fix(dashboard): 失败原因区块被逐源表格挤出可视区,改上下堆叠

1440 宽下逐源表过宽把右侧栏顶出屏幕(用户看到'不展示')。去掉左右
flex 分栏改为纵向堆叠,失败占比列固定 45% 宽。latest 顶部分页文案移除。
parent 384e2be8
......@@ -60,8 +60,8 @@
{% endfor %}
</svg>
<div style="display:flex;gap:24px;flex-wrap:wrap;margin-top:22px;align-items:flex-start">
<div style="flex:3 1 420px;min-width:340px">
<div>
<div>
<h2 style="margin-top:0">逐源表现(7 天)</h2>
<div class="table-wrap">
<table>
......@@ -84,12 +84,12 @@
</div>
</div>
<div style="flex:2 1 260px;min-width:240px">
<div style="margin-top:22px">
<h2 style="margin-top:0">失败原因 Top(7 天)</h2>
{% if fail_top %}
<div class="table-wrap">
<table>
<thead><tr><th>类型</th><th>次数</th><th></th></tr></thead>
<thead><tr><th>类型</th><th>次数</th><th style="width:45%">占比</th></tr></thead>
<tbody>
{% for k, v in fail_top %}
<tr><td><code>{{ k }}</code></td><td>{{ v }}</td>
......
......@@ -39,7 +39,7 @@
<h1>最近抓取</h1>
<p style="color:#666;font-size:13px">
最近 24 小时内每次运行各一张卡片(共 {{ total }} 场),按运行时间倒序,每页 10 场;点击标题打开原文链接。
最近 24 小时内每次运行各一张卡片(共 {{ total }} 场),按运行时间倒序;点击标题打开原文链接。
带已取尽标记=该源近期无新文章(正常),空列表=本次未交付(看上次运行详情排查)。
</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment