diff --git a/media/memory-table.css b/media/memory-table.css index 426699b..8634ff2 100644 --- a/media/memory-table.css +++ b/media/memory-table.css @@ -18,8 +18,8 @@ border-bottom: 2px solid var(--vscode-editor-lineHighlightBorder); } -.memory-inspector-table tr > th, -.memory-inspector-table tr > td { +.memory-inspector-table tr > th:not(.fit), +.memory-inspector-table tr > td:not(.fit) { min-width: 120px; } diff --git a/media/theme/components/table.css b/media/theme/components/table.css index bd3565b..45ea793 100644 --- a/media/theme/components/table.css +++ b/media/theme/components/table.css @@ -50,7 +50,13 @@ } .p-datatable .p-datatable-tbody > tr > td.fit { width: 1%; + word-wrap: break-word; + word-break: unset; } +.p-datatable .p-datatable-thead > tr > th.fit { + min-width: 80px; +} + .p-datatable .p-datatable-tbody > tr > td.p-highlight { background: var(--vscode-list-activeSelectionBackground); color: var(--vscode-list-activeSelectionForeground);