hotfix(expandable-tile): set relative position in tile

This commit is contained in:
Eric Liu 2021-11-07 12:09:51 -08:00
commit b22058f54e

View file

@ -64,7 +64,7 @@
class:bx--tile--is-expanded="{expanded}" class:bx--tile--is-expanded="{expanded}"
class:bx--tile--light="{light}" class:bx--tile--light="{light}"
{...$$restProps} {...$$restProps}
style="{expanded style="position: relative; {expanded
? $$restProps.style ? $$restProps.style
: `${$$restProps.style}; max-height: ${tileMaxHeight + tilePadding}px`}" : `${$$restProps.style}; max-height: ${tileMaxHeight + tilePadding}px`}"
on:click on:click