mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
parent
dfa83bec9a
commit
bc7f5821b8
16 changed files with 26 additions and 25 deletions
|
@ -64,8 +64,8 @@
|
|||
class:bx--popover--right-top="{align === 'right-top'}"
|
||||
class:bx--popover--open="{open}"
|
||||
class:bx--popover--relative="{relative}"
|
||||
style:position="{relative ? "relative" : undefined}"
|
||||
{...$$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