Skip to content

Commit

Permalink
Fix fitting
Browse files Browse the repository at this point in the history
  • Loading branch information
haydar-metin committed Feb 9, 2024
1 parent 9a89e38 commit 55f2b0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/memory-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
6 changes: 6 additions & 0 deletions media/theme/components/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 55f2b0a

Please sign in to comment.