Merge pull request 'Bugfix Root Layout' (#14) from bugfix/root-layout into trunk
All checks were successful
Quality Check / Linting (push) Successful in 21s

Reviewed-on: #14
This commit is contained in:
Dominik Säume 2025-01-09 09:32:28 +00:00 committed by Euph Forge
commit bbe7e29ad1
Signed by: Euph Forge
GPG key ID: 85A06461FB6BDBB7
3 changed files with 29 additions and 2 deletions

View file

@ -1,3 +1,5 @@
<app-header></app-header>
<app-notification-box></app-notification-box>
<router-outlet/>
<main>
<router-outlet />
</main>

View file

@ -0,0 +1,17 @@
app-header {
width: 100%;
}
main {
flex-grow: 1;
min-width: 100%;
width: fit-content;
box-sizing: border-box;
padding: 2rem;
@media (min-width: 60rem) {
width: 80%;
min-width: 60rem;
max-width: 80rem;
}
}

View file

@ -1,9 +1,9 @@
@use '@angular/material' as mat;
html,
body {
height: 100%;
min-height: 100%;
margin: 0;
background: var(--mat-sys-surface);
@ -19,3 +19,11 @@ body {
density: 0));
}
app-root {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}