30 lines
396 B
CSS
30 lines
396 B
CSS
:host {
|
|
z-index: 0;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
app-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100%;
|
|
}
|
|
|
|
main {
|
|
flex: 1; /* Pushes the footer to the bottom */
|
|
}
|
|
|
|
app-footer {
|
|
margin-top: auto; /* Ensures it sticks to the bottom */
|
|
}
|