mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(ui-shell): allow $$restProps.style
to be applied to Content
(#1468)
Fixes #1467
This commit is contained in:
parent
6ec48312ff
commit
7bfa92d5c0
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue