mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
hotfix(popover): manually apply relative style if relative
is true (#915)
This commit is contained in:
parent
dfd53ce09b
commit
914f9af3be
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@
|
||||||
class:bx--popover--open="{open}"
|
class:bx--popover--open="{open}"
|
||||||
class:bx--popover--relative="{relative}"
|
class:bx--popover--relative="{relative}"
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
|
style="{$$restProps.style}; {relative && 'position: relative'}"
|
||||||
>
|
>
|
||||||
<div class:bx--popover-contents="{true}">
|
<div class:bx--popover-contents="{true}">
|
||||||
<slot />
|
<slot />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue