@norges-domstoler/dds-components 0.0.0-dev-20250423104511 → 0.0.0-dev-20250423144030

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -2279,10 +2279,12 @@
2279
2279
  }
2280
2280
  .DetailList_list--striped {
2281
2281
  .DetailList_row {
2282
- &:nth-of-type(even) {
2282
+ &:nth-of-type(4n-1),
2283
+ &:nth-of-type(4n) {
2283
2284
  background-color: var(--dds-color-surface-default);
2284
2285
  }
2285
- &:nth-of-type(odd) {
2286
+ &:nth-of-type(4n-3),
2287
+ &:nth-of-type(4n-2) {
2286
2288
  background-color: var(--dds-color-surface-subtle);
2287
2289
  }
2288
2290
  }
@@ -2309,8 +2311,12 @@
2309
2311
  padding-inline: var(--dds-spacing-x0-75);
2310
2312
  }
2311
2313
  }
2312
- .DetailList_row {
2313
- display: table-row;
2314
+ .DetailList_column {
2315
+ dt,
2316
+ dd {
2317
+ margin-inline-start: 0;
2318
+ text-align: left;
2319
+ }
2314
2320
  }
2315
2321
  .DetailList_cell {
2316
2322
  display: table-cell;