@navikt/ds-css 6.16.0 → 6.16.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "6.16.0",
3
+ "version": "6.16.2",
4
4
  "description": "CSS for NAV Designsystem",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  "css:get-version": "node config/get-version.js"
28
28
  },
29
29
  "devDependencies": {
30
- "@navikt/ds-tokens": "^6.16.0",
30
+ "@navikt/ds-tokens": "^6.16.2",
31
31
  "cssnano": "6.0.0",
32
32
  "fast-glob": "3.2.11",
33
33
  "lodash": "4.17.21",
package/table.css CHANGED
@@ -176,9 +176,8 @@
176
176
  }
177
177
 
178
178
  .navds-table__toggle-expand-cell {
179
- padding: 0 var(--a-spacing-2);
180
- position: relative;
181
- width: 2.5rem;
179
+ padding: 0;
180
+ width: 3rem;
182
181
  }
183
182
 
184
183
  .navds-table--large .navds-table__toggle-expand-cell {
@@ -193,20 +192,25 @@
193
192
  display: grid;
194
193
  place-content: center;
195
194
  cursor: pointer;
196
- margin: 0;
197
195
  background: transparent;
198
196
  border: none;
199
197
  border-radius: var(--a-border-radius-medium);
200
198
  height: 2rem;
201
199
  width: 2rem;
202
200
  font-size: 1.5rem;
201
+ margin: 0 auto;
203
202
  }
204
203
 
205
204
  .navds-table__expandable-icon {
206
205
  transition: transform 150ms ease-in-out;
207
206
  }
208
207
 
208
+ .navds-table__toggle-expand-cell:hover {
209
+ cursor: pointer;
210
+ }
211
+
209
212
  .navds-table__toggle-expand-button:hover,
213
+ .navds-table__toggle-expand-cell:hover > .navds-table__toggle-expand-button,
210
214
  .navds-table__expandable-row--clickable:hover .navds-table__toggle-expand-button {
211
215
  background-color: var(--a-surface-hover);
212
216
  }
@@ -235,16 +239,6 @@
235
239
  }
236
240
  }
237
241
 
238
- .navds-table__toggle-expand-button::after {
239
- inset: 0;
240
- z-index: 1;
241
- position: absolute;
242
- content: "";
243
- height: 100%;
244
- width: 100%;
245
- cursor: pointer;
246
- }
247
-
248
242
  .navds-table__expanded-row-cell {
249
243
  padding: 0;
250
244
  }