Skip to content

Commit

Permalink
Accordion: Remove position:relative to fix popover clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan committed Sep 24, 2024
1 parent 63986d9 commit 9c1eba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-snakes-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-css": patch
---

Accordion: Remove position:relative to fix popover clipping.
4 changes: 0 additions & 4 deletions @navikt/core/css/accordion.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
--__ac-accordion-header-shadow-color: var(--ac-accordion-header-border, var(--a-border-divider));
}

.navds-accordion__item:focus-within {
position: relative;
}

/*************************
* Header *
*************************/
Expand Down

0 comments on commit 9c1eba4

Please sign in to comment.