Changed main to div
This commit is contained in:
parent
5e0afdfa66
commit
d3219d1ea8
1 changed files with 2 additions and 2 deletions
|
|
@ -10,10 +10,10 @@ export default (props: Props) => {
|
|||
return (
|
||||
<>
|
||||
<Show when={props.alignment}>
|
||||
<main class={props.alignment}>{props.children}</main>
|
||||
<div class={props.alignment}>{props.children}</div>
|
||||
</Show>
|
||||
<Show when={!props.alignment}>
|
||||
<main class="page">{props.children}</main>
|
||||
<div class="page">{props.children}</div>
|
||||
</Show>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue