Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit 4116c1e

Browse files
feat(MaterialApp): make full height
Signed-off-by: Florian-Schoenherr <[email protected]>
1 parent 0236948 commit 4116c1e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

packages/docs/static/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
html {
55
scroll-behavior: smooth;
66
}
7+
#root {
8+
height: 100%;
9+
}
710
:target {
811
scroll-margin-top: 64px;
912
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import '../../styles/global';
2+
3+
.s-app {
4+
min-height: 100%;
5+
}

packages/svelte-materialify/src/components/MaterialApp/MaterialApp.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
export let theme = 'light';
33
</script>
44

5-
<style type="scss" global>
6-
@import '../../styles/global';
5+
<style type="scss" src="./MaterialApp.scss" global>
76
</style>
87

98
<div class="s-app theme--{theme}">

0 commit comments

Comments
 (0)