Skip to content

Commit 943a39d

Browse files
[FIX] Expandale table line (#1642)
* yarn lock update * remove expanded cell border bottom * merge master
1 parent 8551822 commit 943a39d

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

@navikt/core/css/table.css

+17-5
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,19 @@
8888
text-align: center;
8989
}
9090

91-
.navds-table__body
92-
.navds-table__row--shade-on-hover:hover
91+
where(.navds-table__body
92+
.navds-table__row--shade-on-hover:hover)
9393
.navds-table__header-cell,
94-
.navds-table__body
95-
.navds-table__row--shade-on-hover:hover
94+
where(.navds-table__body
95+
.navds-table__row--shade-on-hover:hover)
9696
.navds-table__data-cell {
9797
border-color: var(--navds-table-cell-color-border-hover);
9898
}
9999

100+
where(.navds-table__expandable-row--open:hover) .navds-table__data-cell {
101+
border-bottom-color: transparent;
102+
}
103+
100104
.navds-table--small .navds-table__header-cell,
101105
.navds-table--small .navds-table__data-cell {
102106
padding: var(--navds-spacing-2) var(--navds-spacing-3);
@@ -165,8 +169,16 @@
165169
flex-shrink: 0;
166170
}
167171

168-
.navds-table__expandable-row--open .navds-table__header-cell,
172+
.navds-table__expandable-row:not(.navds-table__expandable-row--open)
173+
.navds-table__data-cell {
174+
transition: border-bottom-color 190ms cubic-bezier(0.6, 0.04, 0.98, 0.335);
175+
}
176+
169177
.navds-table__expandable-row--open .navds-table__data-cell {
178+
border-bottom-color: transparent;
179+
}
180+
181+
.navds-table__expandable-row--open .navds-table__header-cell {
170182
border-color: var(--navds-semantic-color-border-muted);
171183
}
172184

lerna.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"publish": {
66
"registry": "https://registry.npmjs.org/",
77
"npmClient": "npm",
8-
"ignoreChanges": [
9-
"*.md",
10-
"*.mdx",
11-
"*.story.tsx",
12-
"*.stories.tsx"
13-
],
8+
"ignoreChanges": ["*.md", "*.mdx", "*.story.tsx", "*.stories.tsx"],
149
"message": "Lerna versionbump [ci skip]"
1510
},
1611
"bootstrap": {

0 commit comments

Comments
 (0)