From 1c920548bae5f70f31d28c6c0cc753712bb713c3 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 19 Dec 2023 10:40:41 +0100 Subject: no more wrapping in the navbar --- server/src/routes/ui/account/settings.rs | 1 + web/style/navbar.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/routes/ui/account/settings.rs b/server/src/routes/ui/account/settings.rs index 66a4f88..f14478b 100644 --- a/server/src/routes/ui/account/settings.rs +++ b/server/src/routes/ui/account/settings.rs @@ -40,6 +40,7 @@ fn option_len<'v>(value: &Option, range: Range) -> form::Result<' fn settings_page(session: Session, flash: Option>) -> DynLayoutPage<'static> { LayoutPage { title: "Settings".to_string(), + class: Some("settings"), content: markup::new! { h1 { "Settings" } @if let Some(flash) = &flash { diff --git a/web/style/navbar.css b/web/style/navbar.css index e85ce1c..5df2f5c 100644 --- a/web/style/navbar.css +++ b/web/style/navbar.css @@ -1,4 +1,3 @@ - nav { user-select: none; z-index: 90; @@ -16,6 +15,7 @@ nav { } nav a { + display: inline-block; border: 0px solid transparent; border-radius: 5px; padding: 0.5em; -- cgit v1.2.3-70-g09d2