fix(ui-shell): allow $$restProps.style to be applied to Content

Fixes #1467
This commit is contained in:
Eric Liu 2022-08-29 08:02:10 -07:00
commit 2777433145

View file

@ -18,7 +18,7 @@
id="{id}"
class:bx--content="{true}"
{...$$restProps}
style="{unsetLeftMargin && 'margin-left: 0;'} {$$restProps.style}}"
style="{unsetLeftMargin ? 'margin-left: 0;' : ''} {$$restProps.style}"
>
<slot />
</main>