@oslokommune/punkt-css 12.12.0 → 12.12.2

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.
@@ -74,7 +74,11 @@
74
74
  &__container:not(:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple)))):not(:is(:has(textarea[cols]))):not(
75
75
  :is(:has(input[size]))
76
76
  ):not(:is(:has(&--fullwidth))) {
77
- width: min(100%, 31rem);
77
+ width: min(31rem, 100%);
78
+ }
79
+
80
+ &__container:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple))):not(:is(:has(&--fullwidth))) {
81
+ width: fit-content;
78
82
  }
79
83
 
80
84
  &--fullwidth {
@@ -222,7 +226,6 @@
222
226
  }
223
227
 
224
228
  &__container {
225
- width: fit-content;
226
229
  display: flex;
227
230
  align-items: center;
228
231
  align-self: stretch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.12.0",
3
+ "version": "12.12.2",
4
4
  "description": "CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -54,5 +54,5 @@
54
54
  "url": "https://github.com/oslokommune/punkt/issues"
55
55
  },
56
56
  "license": "MIT",
57
- "gitHead": "7101571e5d72c3a719ac4fb3030d544702c22364"
57
+ "gitHead": "e724a9ece981e63f0bf39d4d8bb49c35f4d574fa"
58
58
  }