From 2cc9c06bb81592da61d935bc1a277e545670a284 Mon Sep 17 00:00:00 2001 From: Yuri Sidorov <403994+newstler@users.noreply.github.com> Date: Thu, 15 Jan 2026 19:05:36 +0100 Subject: [PATCH] Add account name branding to nav menu trigger Shows the current account name next to the Fizzy logo in the navigation menu button, making it clearer which account the user is viewing. Co-Authored-By: Claude Sonnet 4.5 --- app/assets/stylesheets/nav.css | 8 ++++++++ app/views/my/_menu.html.erb | 1 + 2 files changed, 9 insertions(+) diff --git a/app/assets/stylesheets/nav.css b/app/assets/stylesheets/nav.css index c48a780348..facf26ad9e 100644 --- a/app/assets/stylesheets/nav.css +++ b/app/assets/stylesheets/nav.css @@ -51,6 +51,14 @@ overflow: visible; width: auto; } + + .nav__brand { + font-size: 1.2rem; + font-weight: 900; + font-stretch: 90%; + margin-block-start: -0.03em; + margin-inline-start: 0.3em; + } } /* Dialog diff --git a/app/views/my/_menu.html.erb b/app/views/my/_menu.html.erb index 89b6cba691..6c4efebf35 100644 --- a/app/views/my/_menu.html.erb +++ b/app/views/my/_menu.html.erb @@ -5,6 +5,7 @@ action: "click->dialog#open keydown.j@document->hotkey#click keydown.meta+j@document->hotkey#click keydown.ctrl+j@document->hotkey#click", controller: "hotkey" } do %> <%= image_tag "logo.png", alt: "" %> + <%= Current.account.name %> J <% end %>