@norges-domstoler/dds-components 21.9.2 → 21.10.0

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
@@ -2493,7 +2493,7 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
2493
2493
  :where(.Input_input-group__absolute-element) {
2494
2494
  position: absolute;
2495
2495
  top: 50%;
2496
- transform: translate(0, -50%);
2496
+ transform: translateY(-50%);
2497
2497
  z-index: var(--dds-zindex-absolute-element);
2498
2498
  color: var(--dds-color-icon-default);
2499
2499
  }
@@ -3334,17 +3334,15 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
3334
3334
  padding-right: var(--dds-spacing-x4);
3335
3335
  }
3336
3336
  .NativeSelect_icon {
3337
- position: absolute;
3338
- top: 50%;
3339
- transform: translate(-150%, -50%);
3337
+ right: var(--dds-spacing-x0-5);
3340
3338
  align-self: center;
3341
3339
  pointer-events: none;
3342
3340
  }
3343
3341
  .NativeSelect_clear-button--small {
3344
- right: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-small));
3342
+ right: calc(var(--dds-spacing-x0-5) + var(--dds-icon-size-small));
3345
3343
  }
3346
3344
  .NativeSelect_clear-button--medium {
3347
- right: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium));
3345
+ right: calc(var(--dds-spacing-x0-5) + var(--dds-icon-size-medium));
3348
3346
  }
3349
3347
 
3350
3348
  /* src/components/PhoneInput/PhoneInput.module.css */