Skip to content

Commit

Permalink
Fix table paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
haydar-metin committed Feb 8, 2024
1 parent 79891b7 commit 1a5fd98
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions media/theme/components/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
********************************************************************************/

.p-datatable .p-datatable-header {
padding: 0.5rem 1rem;
padding: 0.5rem 12px;
}
.p-datatable .p-datatable-footer {
padding: 0.5rem 1rem;
padding: 0.5rem 12px;
}
.p-datatable .p-datatable-thead > tr > th {
text-align: left;
padding: 1rem 1rem;
padding: 4px 12px;
font-weight: 600;
background: var(--vscode-editor-background);
transition: box-shadow 0.2s;
}
.p-datatable .p-datatable-tfoot > tr > td {
text-align: left;
padding: 1rem 1rem;
padding: 4px 12px;
font-weight: 600;
background: var(--vscode-editor-background);
}
Expand All @@ -43,7 +43,7 @@
.p-datatable .p-datatable-tbody > tr > td {
vertical-align: top;
text-align: left;
padding: 0.25rem 1rem;
padding: 4px 12px;
word-break: break-all;
overflow-wrap: anywhere;
white-space: unset;
Expand All @@ -54,7 +54,8 @@
.p-datatable .p-datatable-tbody > tr > td.p-highlight {
background: var(--vscode-list-activeSelectionBackground);
color: var(--vscode-list-activeSelectionForeground);
border: 1px solid var(--vscode-list-focusOutline);
outline: 1px solid var(--vscode-list-focusOutline);
outline-offset: -1px;
}
.p-datatable.p-datatable-selectable
.p-datatable-tbody
Expand Down

0 comments on commit 1a5fd98

Please sign in to comment.