aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/navbar
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-11-03 20:19:57 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-11-03 20:19:57 +0100
commitb1f8062b85ee739e9efb32cbdfde205faaf297d8 (patch)
tree72de67359f6490eddb40ce7c265c3626a8e8e2b2 /web/pw-server/src/lib/components/navbar
parent1afd5b5404a1c064abfe6711b95d59ea1bb13022 (diff)
downloadplanetwars.dev-b1f8062b85ee739e9efb32cbdfde205faaf297d8.tar.xz
planetwars.dev-b1f8062b85ee739e9efb32cbdfde205faaf297d8.zip
basic responsive navbar
Diffstat (limited to 'web/pw-server/src/lib/components/navbar')
-rw-r--r--web/pw-server/src/lib/components/navbar/UserControls.svelte9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/pw-server/src/lib/components/navbar/UserControls.svelte b/web/pw-server/src/lib/components/navbar/UserControls.svelte
index fa920ad..184a40a 100644
--- a/web/pw-server/src/lib/components/navbar/UserControls.svelte
+++ b/web/pw-server/src/lib/components/navbar/UserControls.svelte
@@ -52,6 +52,7 @@
font-size: 18px;
font-family: Helvetica, sans-serif;
padding: 4px 8px;
+ font-weight: 400;
}
.account-href {
@@ -76,4 +77,12 @@
display: flex;
align-items: center;
}
+
+ // TODO: pretty hacky
+ @media screen and (max-width: 600px) {
+ .user-controls {
+ flex-direction: column;
+ align-items: flex-start;
+ }
+ }
</style>