From 7bfa92d5c05a388d1fb32e951ef97c5ef3f9260f Mon Sep 17 00:00:00 2001 From: metonym Date: Mon, 29 Aug 2022 08:08:43 -0700 Subject: [PATCH] fix(ui-shell): allow `$$restProps.style` to be applied to `Content` (#1468) Fixes #1467 --- src/UIShell/Content.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UIShell/Content.svelte b/src/UIShell/Content.svelte index 44fc1572..768b1dc5 100644 --- a/src/UIShell/Content.svelte +++ b/src/UIShell/Content.svelte @@ -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}" >