From 277743314570b9318ffd07a741dcdf2fe8538a99 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 29 Aug 2022 08:02:10 -0700 Subject: [PATCH] fix(ui-shell): allow `$$restProps.style` to be applied to `Content` 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}" >