@navikt/ds-css 8.10.0 → 8.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "8.10.0",
3
+ "version": "8.10.1",
4
4
  "description": "CSS for Nav Designsystem",
5
5
  "author": "Aksel | Nav designsystem team",
6
6
  "keywords": [
@@ -30,7 +30,7 @@
30
30
  "css:get-version": "node config/get-version.js"
31
31
  },
32
32
  "devDependencies": {
33
- "@navikt/ds-tokens": "^8.10.0",
33
+ "@navikt/ds-tokens": "^8.10.1",
34
34
  "browserslist": "^4.25.0",
35
35
  "esbuild": "^0.27.4",
36
36
  "fast-glob": "3.3.3",
@@ -151,6 +151,7 @@
151
151
  text-align: start;
152
152
  vertical-align: middle;
153
153
  scroll-margin: var(--ax-space-0);
154
+ padding: 0;
154
155
 
155
156
  .aksel-data-table__thead & {
156
157
  background-color: var(--ax-bg-neutral-soft);
@@ -265,6 +266,7 @@
265
266
  background-color: transparent;
266
267
  border: none;
267
268
  font-weight: inherit;
269
+ padding: 0;
268
270
 
269
271
  &:focus-visible {
270
272
  outline: none;
package/src/modal.css CHANGED
@@ -49,13 +49,7 @@
49
49
  left: 0;
50
50
  }
51
51
 
52
- .aksel-modal--medium {
53
- width: 700px;
54
- }
55
-
56
52
  .aksel-modal--small {
57
- width: 450px;
58
-
59
53
  & .aksel-modal__header {
60
54
  padding: var(--ax-space-12) var(--ax-space-16);
61
55
  }
@@ -70,6 +64,14 @@
70
64
  }
71
65
  }
72
66
 
67
+ .aksel-modal--width-medium {
68
+ width: 700px;
69
+ }
70
+
71
+ .aksel-modal--width-small {
72
+ width: 450px;
73
+ }
74
+
73
75
  @media (min-width: 480px) {
74
76
  .aksel-modal {
75
77
  max-width: calc(100% - 2em);