diff --git a/.changeset/seven-snakes-train.md b/.changeset/seven-snakes-train.md new file mode 100644 index 0000000000..eb55fdcf1c --- /dev/null +++ b/.changeset/seven-snakes-train.md @@ -0,0 +1,5 @@ +--- +"@navikt/ds-css": patch +--- + +Accordion: Remove position:relative to fix popover clipping. diff --git a/@navikt/core/css/accordion.css b/@navikt/core/css/accordion.css index 34b71b64c5..b44af6e4eb 100644 --- a/@navikt/core/css/accordion.css +++ b/@navikt/core/css/accordion.css @@ -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 * *************************/