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

Fixes #1467
This commit is contained in:
metonym 2022-08-29 08:08:43 -07:00 committed by GitHub
commit 7bfa92d5c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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