Adjust data columns to two numeric columns
This commit is contained in:
+6
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user