mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +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--relative="{relative}"
|
||||
{...$$restProps}
|
||||
style="{$$restProps.style}; {relative && 'position: relative'}"
|
||||
>
|
||||
<div class:bx--popover-contents="{true}">
|
||||
<slot />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue