diff --git a/static/css/index.css b/static/css/index.css index 3e00e63..9a5b0ea 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -82,9 +82,15 @@ table{ word-break: break-all; border-collapse: separate!important; } -td{ + +.table td{ + font-size: 14px; padding: 0; + max-width: 10rem; + word-break: break-all; + border-collapse: separate!important; } + .aud{ width: 110px; } @@ -94,8 +100,9 @@ td{ } .rasp{ - max-width: 200px; + width: 200px; word-break: break-word; + white-space: nowrap; } #modal_matcenn{ @@ -108,7 +115,10 @@ td{ } +.datatable th:nth-child(7) { + width: 200px; +} diff --git a/static/js/allmatc.js b/static/js/allmatc.js index 58551c0..1477f10 100644 --- a/static/js/allmatc.js +++ b/static/js/allmatc.js @@ -10,7 +10,7 @@ function clearTable() { function getAllData() { - console.log('12321321') + clearTable(); let tableBody = document.getElementById('alldatatable').getElementsByTagName("tbody")[0]; diff --git a/templates/all.html b/templates/all.html index e0c36de..50bd2ac 100644 --- a/templates/all.html +++ b/templates/all.html @@ -137,7 +137,7 @@