Skip to content

Commit

Permalink
fix: fix wide table css style
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Mar 6, 2024
1 parent 7c17454 commit bfe9d5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ckanext/unfold/assets/css/unfold.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions ckanext/unfold/assets/js/unfold-init-jstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ ckan.module("unfold-init-jstree", function ($, _) {
show_only_matches: true,
},
table: {
columnWidth: "200px",
columns: [
{ width: 400, header: "Name" },
{ width: 100, header: "Size", value: "size" },
{ width: 100, header: "Type", value: "type" },
{ width: 100, header: "Format", value: "format" },
{ width: 100, header: "Modified at", value: "modified_at" }
{ width: 100, header: "Size", value: "size", cellClass: "js-tree-col", headerClass: "js-tree-col", wideCellClass: "js-tree-col" },
{ width: 100, header: "Type", value: "type", cellClass: "js-tree-col", headerClass: "js-tree-col", wideCellClass: "js-tree-col" },
{ width: 100, header: "Format", value: "format", cellClass: "js-tree-col", headerClass: "js-tree-col", wideCellClass: "js-tree-col" },
{ width: 200, header: "Modified at", value: "modified_at", cellClass: "js-tree-col", headerClass: "js-tree-col", wideCellClass: "js-tree-col" }
],
height: 700,
},
Expand Down

0 comments on commit bfe9d5d

Please sign in to comment.