Skip to content

Commit d292cf1

Browse files
committed
feat(Page): unset height and add $$props.class
1 parent 79c4a51 commit d292cf1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: components/page/Page.svelte

+1-7
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,8 @@ let cell12 = 'mdc-layout-grid__cell mdc-layout-grid__cell--span-12'
1212
$: $appBarTitle = title
1313
</script>
1414

15-
<style>
16-
div.mdc-layout-grid {
17-
height: 100%;
18-
}
19-
</style>
20-
2115
<slot name="tabbar" />
22-
<div class="mdc-layout-grid">
16+
<div class="mdc-layout-grid {$$props.class}">
2317
<div class="mdc-layout-grid__inner">
2418
{#if layout == 'default'}
2519
<div class={center ? `${cell12} flex column align-items-center` : `${cell12}`}>

0 commit comments

Comments
 (0)