diff --git a/ui/nuxeo-data-table/data-table-cell.js b/ui/nuxeo-data-table/data-table-cell.js index 8c61f3448..05cbf1d4e 100644 --- a/ui/nuxeo-data-table/data-table-cell.js +++ b/ui/nuxeo-data-table/data-table-cell.js @@ -35,6 +35,15 @@ import './data-table-templatizer-behavior.js'; :host([header]) ::slotted(*) { min-width: 0; } + + :host([header]) ::slotted(#columnHeader) { + flex: 1 1 70px; + min-width: 70px; + max-width: 120px; + overflow: hidden; + text-overflow: ellipsis; + text-align: start; + } `; diff --git a/ui/nuxeo-data-table/data-table-column-sort.js b/ui/nuxeo-data-table/data-table-column-sort.js index 0ffc1996b..84139c4b1 100644 --- a/ui/nuxeo-data-table/data-table-column-sort.js +++ b/ui/nuxeo-data-table/data-table-column-sort.js @@ -49,9 +49,14 @@ import { I18nBehavior } from '../nuxeo-i18n-behavior.js'; right: 4px; bottom: 8px; } + + #sortContainer { + position: relative; + width: 40px; + } -
+
-
+
[[column.name]]