add $$restProps.style

This commit is contained in:
jqlio18 2022-12-18 20:52:27 -05:00
commit 69b208add2

View file

@ -4,6 +4,8 @@
import { Grid, Row, Column } from "../Grid";
import { shouldRenderHamburgerMenu } from "./navStore";
const { style, ...rest } = $$restProps;
</script>
<div
@ -13,8 +15,8 @@
<main
id="{id}"
class:bx--content="{true}"
style="height: 100%; margin: 0px; width: 100%;"
{...$$restProps}
style="{`height: 100%; margin: 0px; width: 100%; ${$$restProps.style}`}"
>
<Grid narrow noGutter>
<Row>