@oslokommune/punkt-css 8.0.8 → 8.0.10

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.
@@ -155,6 +155,11 @@
155
155
  align-items: center;
156
156
  align-self: stretch;
157
157
 
158
+ &:is(:has(input[size])),
159
+ &:is(:has(textarea[cols])) {
160
+ align-self: flex-start;
161
+ }
162
+
158
163
  :first-child:not(:only-child) {
159
164
  border-right: none;
160
165
  }
@@ -198,7 +203,7 @@
198
203
 
199
204
  &__counter {
200
205
  @include typography.get-text('pkt-txt-14-light');
201
- width: 100%;
206
+ width: min(100%, 31rem);
202
207
  text-align: right;
203
208
  &--error {
204
209
  @include typography.get-text('pkt-txt-14-medium');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "8.0.8",
3
+ "version": "8.0.10",
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",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/oslokommune/punkt/issues"
56
56
  },
57
57
  "license": "MIT",
58
- "gitHead": "837caafedd376bb52d435f7a46c935c6ada950fa"
58
+ "gitHead": "0b7ec784e524e030c5d6b178084263e4e8c81aad"
59
59
  }