mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
add $$restProps.style
This commit is contained in:
parent
d5251ff47c
commit
69b208add2
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue