Skip to content

Commit

Permalink
[FIX] Expandale table line (#1642)
Browse files Browse the repository at this point in the history
* yarn lock update
* remove expanded cell border bottom
* merge master
  • Loading branch information
larseirikhansen authored Sep 22, 2022
1 parent 8551822 commit 943a39d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
22 changes: 17 additions & 5 deletions @navikt/core/css/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,19 @@
text-align: center;
}

.navds-table__body
.navds-table__row--shade-on-hover:hover
where(.navds-table__body
.navds-table__row--shade-on-hover:hover)
.navds-table__header-cell,
.navds-table__body
.navds-table__row--shade-on-hover:hover
where(.navds-table__body
.navds-table__row--shade-on-hover:hover)
.navds-table__data-cell {
border-color: var(--navds-table-cell-color-border-hover);
}

where(.navds-table__expandable-row--open:hover) .navds-table__data-cell {
border-bottom-color: transparent;
}

.navds-table--small .navds-table__header-cell,
.navds-table--small .navds-table__data-cell {
padding: var(--navds-spacing-2) var(--navds-spacing-3);
Expand Down Expand Up @@ -165,8 +169,16 @@
flex-shrink: 0;
}

.navds-table__expandable-row--open .navds-table__header-cell,
.navds-table__expandable-row:not(.navds-table__expandable-row--open)
.navds-table__data-cell {
transition: border-bottom-color 190ms cubic-bezier(0.6, 0.04, 0.98, 0.335);
}

.navds-table__expandable-row--open .navds-table__data-cell {
border-bottom-color: transparent;
}

.navds-table__expandable-row--open .navds-table__header-cell {
border-color: var(--navds-semantic-color-border-muted);
}

Expand Down
7 changes: 1 addition & 6 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"publish": {
"registry": "https://registry.npmjs.org/",
"npmClient": "npm",
"ignoreChanges": [
"*.md",
"*.mdx",
"*.story.tsx",
"*.stories.tsx"
],
"ignoreChanges": ["*.md", "*.mdx", "*.story.tsx", "*.stories.tsx"],
"message": "Lerna versionbump [ci skip]"
},
"bootstrap": {
Expand Down

0 comments on commit 943a39d

Please sign in to comment.