From cd7726c4438e131175f8ae97a6407c8c03bec678 Mon Sep 17 00:00:00 2001 From: Ivan Filippov Date: Wed, 20 Apr 2016 15:24:12 -0600 Subject: [PATCH] Break up long data fields. Fixes #28. --- app/static/admin/layout2/css/custom.css | 4 ++++ app/static/admin/pages/scripts/table-editable.js | 3 +++ 2 files changed, 7 insertions(+) diff --git a/app/static/admin/layout2/css/custom.css b/app/static/admin/layout2/css/custom.css index 105f575..7ac5248 100644 --- a/app/static/admin/layout2/css/custom.css +++ b/app/static/admin/layout2/css/custom.css @@ -1,5 +1,9 @@ /* here you can put your own css to customize and override the theme */ +.length-break { + word-break: break-all !important; +} + #tbl_record_manage td { font-family:'Roboto Mono' !important; } diff --git a/app/static/admin/pages/scripts/table-editable.js b/app/static/admin/pages/scripts/table-editable.js index 2dc0858..eea9168 100644 --- a/app/static/admin/pages/scripts/table-editable.js +++ b/app/static/admin/pages/scripts/table-editable.js @@ -160,6 +160,9 @@ var TableEditable = function () { }, { "searchable": true, "targets": [0] + }, { + "className": "length-break", + targets: [4] }], "order": [ [0, "asc"]