diff --git a/static/style.css b/static/style.css index 6935248..1bc67d5 100644 --- a/static/style.css +++ b/static/style.css @@ -73,6 +73,11 @@ button:hover, .btn:hover { filter: brightness(.96); } .card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; } .card-head strong { font-size: 16px; } +/* BOM 看板: 下拉选择器 */ +.bom-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } +.bom-filter label { margin: 0; white-space: nowrap; } +.bom-filter select { width: auto; min-width: 260px; } + /* 批量导入窗口(模态) */ .modal-mask { position: fixed; inset: 0; background: rgba(15,23,35,.5); diff --git a/templates/dashboard.html b/templates/dashboard.html index 749865b..aed06c9 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -42,8 +42,19 @@ {% if can_bom %}