diff --git a/crawler/static/admin/css/custom_admin.css b/crawler/static/admin/css/custom_admin.css index 8c59ed5..a421484 100644 --- a/crawler/static/admin/css/custom_admin.css +++ b/crawler/static/admin/css/custom_admin.css @@ -39,21 +39,23 @@ min-width: 100% !important; } -/* 特殊处理标题列 */ +/* 特殊处理复选框列(第一列) */ .change-list .results table tbody td:nth-child(1), .change-list .results table thead th:nth-child(1) { + width: 40px !important; + min-width: 40px !important; + max-width: 40px !important; +} + +/* 特殊处理标题列(第二列) */ +.change-list .results table tbody td:nth-child(2), +.change-list .results table thead th:nth-child(2) { width: 350px !important; min-width: 350px !important; max-width: 350px !important; } /* 设置其他列的宽度 */ -.change-list .results table tbody td:nth-child(2), -.change-list .results table thead th:nth-child(2) { - width: 120px !important; - min-width: 120px !important; -} - .change-list .results table tbody td:nth-child(3), .change-list .results table thead th:nth-child(3) { width: 120px !important; @@ -62,30 +64,36 @@ .change-list .results table tbody td:nth-child(4), .change-list .results table thead th:nth-child(4) { - width: 150px !important; - min-width: 150px !important; -} - -.change-list .results table tbody td:nth-child(5), -.change-list .results table thead th:nth-child(5) { - width: 80px !important; - min-width: 80px !important; -} - -.change-list .results table tbody td:nth-child(6), -.change-list .results table thead th:nth-child(6) { width: 120px !important; min-width: 120px !important; } +.change-list .results table tbody td:nth-child(5), +.change-list .results table thead th:nth-child(5) { + width: 150px !important; + min-width: 150px !important; +} + +.change-list .results table tbody td:nth-child(6), +.change-list .results table thead th:nth-child(6) { + width: 80px !important; + min-width: 80px !important; +} + .change-list .results table tbody td:nth-child(7), .change-list .results table thead th:nth-child(7) { - width: 100px !important; - min-width: 100px !important; + width: 120px !important; + min-width: 120px !important; } .change-list .results table tbody td:nth-child(8), .change-list .results table thead th:nth-child(8) { + width: 100px !important; + min-width: 100px !important; +} + +.change-list .results table tbody td:nth-child(9), +.change-list .results table thead th:nth-child(9) { width: 120px !important; min-width: 120px !important; }