aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-12-19 10:40:41 +0100
committermetamuffin <metamuffin@disroot.org>2023-12-19 10:40:41 +0100
commit1c920548bae5f70f31d28c6c0cc753712bb713c3 (patch)
tree85f7cd3859af551235d7258ef2dbcb0c080a2ef5
parentf0ad31971e53a1c1bfcca2723eea0bd1cbe9ba21 (diff)
downloadjellything-1c920548bae5f70f31d28c6c0cc753712bb713c3.tar
jellything-1c920548bae5f70f31d28c6c0cc753712bb713c3.tar.bz2
jellything-1c920548bae5f70f31d28c6c0cc753712bb713c3.tar.zst
no more wrapping in the navbar
-rw-r--r--server/src/routes/ui/account/settings.rs1
-rw-r--r--web/style/navbar.css2
2 files changed, 2 insertions, 1 deletions
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<String>, range: Range<usize>) -> form::Result<'
fn settings_page(session: Session, flash: Option<MyResult<String>>) -> 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;