Skip to content

Commit

Permalink
prettier responsiveness for table
Browse files Browse the repository at this point in the history
maintain colours
  • Loading branch information
vankesteren committed Dec 23, 2023
1 parent 9854d17 commit e4157fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ td > a:hover {
table {
border-collapse: collapse;
max-width: 100%;
overflow-x: auto;
display: block;
}

.severity-high {
Expand Down
2 changes: 1 addition & 1 deletion web/page.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
</html>

<script>
new DataTable('#fair-table', { pageLength: 50, order: [[1, 'desc']], responsive: true});
new DataTable('#fair-table', { pageLength: 50, order: [[1, 'desc']]});
</script>

0 comments on commit e4157fd

Please sign in to comment.