Updated
This commit is contained in:
parent
8e724b166a
commit
b5e92165c8
33 changed files with 82 additions and 223 deletions
|
|
@ -3,7 +3,7 @@ import { Show } from 'solid-js'
|
|||
|
||||
interface Props {
|
||||
children?: any
|
||||
alignment?: 'row' | 'column'
|
||||
alignment?: 'dasig-page-row' | 'dasig-page-column'
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
|
|
@ -13,7 +13,7 @@ export default (props: Props) => {
|
|||
<main class={props.alignment}>{props.children}</main>
|
||||
</Show>
|
||||
<Show when={!props.alignment}>
|
||||
<main class="page">{props.children}</main>
|
||||
<main class="dasig-page">{props.children}</main>
|
||||
</Show>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue