diff --git a/webapp/src/app/app.scss b/webapp/src/app/app.scss index 500b2b6..abe538e 100644 --- a/webapp/src/app/app.scss +++ b/webapp/src/app/app.scss @@ -1,4 +1,5 @@ :host { display: grid; grid-template-columns: min-content auto; + min-height: 100vh; } diff --git a/webapp/src/app/components/nav-rail/nav-rail.html b/webapp/src/app/components/nav-rail/nav-rail.html index 7f6af87..5d00cfe 100644 --- a/webapp/src/app/components/nav-rail/nav-rail.html +++ b/webapp/src/app/components/nav-rail/nav-rail.html @@ -1,16 +1,16 @@ diff --git a/webapp/src/app/components/nav-rail/nav-rail.scss b/webapp/src/app/components/nav-rail/nav-rail.scss index fac37d0..10f4ac0 100644 --- a/webapp/src/app/components/nav-rail/nav-rail.scss +++ b/webapp/src/app/components/nav-rail/nav-rail.scss @@ -1,15 +1,29 @@ nav { - ul { + background-color: var(--color-surface-container); + box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px; + font-size: 1.6em; + height: 100%; + + .nav-list { align-items: center; display: flex; flex-direction: column; list-style: none; - padding-left: 0; + padding: 1.2em; - li { + .nav-list__item { align-items: center; display: flex; flex-direction: column; + inline-size: min-content; + + &:not(:last-of-type) { + margin-bottom: 1.2em; + } + + .nav-list__item-label { + white-space: pre; + } } } } diff --git a/webapp/src/styles.scss b/webapp/src/styles.scss index b9ce5f7..06e55b5 100644 --- a/webapp/src/styles.scss +++ b/webapp/src/styles.scss @@ -32,5 +32,6 @@ } body { + font-size: 62.5%; margin: 0; }