Adjust data columns to two numeric columns

This commit is contained in:
2026-05-20 13:55:15 +02:00
parent 0f84c79b5e
commit 1ea3b1e36f
3 changed files with 6 additions and 6 deletions
+6 -1
View File
@@ -2482,6 +2482,7 @@ section + section {
/* ========================================================= */
.sg-data-table {
--data-table-column-count: 3;
width: 100%;
border-collapse: collapse;
background: var(--surface-data-table);
@@ -2490,13 +2491,17 @@ section + section {
.sg-data-table th,
.sg-data-table td {
width: 33.333%;
width: calc(100% / var(--data-table-column-count));
padding: 0 0 var(--spacing-small) 0;
border: var(--border-none);
text-align: left;
vertical-align: top;
}
.sg-data-table[data-component="data-columns"] {
--data-table-column-count: 2;
}
.sg-data-table th {
font-family: var(--font-family-base);
font-size: var(--font-size-small);