From 9374ff16ed95059c49b035bc62b1d083cd561fe7 Mon Sep 17 00:00:00 2001 From: Toutsu Date: Fri, 8 May 2026 13:41:48 +0300 Subject: [PATCH] fix(ui): prevent NavMenu logo from overlapping hamburger on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On viewports ≤768px the burger button is position:fixed at the viewport edge, while the header retained its default 1rem left padding. The logo image therefore sat completely underneath the button, causing a visible overlap on hover. Increase .nav-header padding-left to 3.75rem on mobile so the .nav-brand clears the 2.5rem fixed toggle with a 0.5rem gap. Bump version → 1.10.6 Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/deploy.yml | 2 +- Directory.Build.props | 2 +- compose.yaml | 4 ++-- src/GmRelay.Web/Components/Layout/NavMenu.razor | 2 +- src/GmRelay.Web/Components/Layout/NavMenu.razor.css | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d6b7f5c..0e048e7 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -6,7 +6,7 @@ on: - main env: - VERSION: 1.10.5 + VERSION: 1.10.6 jobs: # ЧАСТЬ 1: Собираем образы и кладем в Gitea (чтобы делиться с ребятами) diff --git a/Directory.Build.props b/Directory.Build.props index c8da064..ec0b1ed 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 1.10.5 + 1.10.6 net10.0 preview enable diff --git a/compose.yaml b/compose.yaml index 0b491af..fa30c1b 100644 --- a/compose.yaml +++ b/compose.yaml @@ -17,7 +17,7 @@ services: retries: 10 bot: - image: git.codeanddice.ru/toutsu/gmrelay-bot:1.10.5 + image: git.codeanddice.ru/toutsu/gmrelay-bot:1.10.6 restart: always depends_on: db: @@ -30,7 +30,7 @@ services: - gmrelay web: - image: git.codeanddice.ru/toutsu/gmrelay-web:1.10.5 + image: git.codeanddice.ru/toutsu/gmrelay-web:1.10.6 restart: always depends_on: db: diff --git a/src/GmRelay.Web/Components/Layout/NavMenu.razor b/src/GmRelay.Web/Components/Layout/NavMenu.razor index f9ce328..7615e2c 100644 --- a/src/GmRelay.Web/Components/Layout/NavMenu.razor +++ b/src/GmRelay.Web/Components/Layout/NavMenu.razor @@ -56,7 +56,7 @@ - + diff --git a/src/GmRelay.Web/Components/Layout/NavMenu.razor.css b/src/GmRelay.Web/Components/Layout/NavMenu.razor.css index d4805ba..4194f99 100644 --- a/src/GmRelay.Web/Components/Layout/NavMenu.razor.css +++ b/src/GmRelay.Web/Components/Layout/NavMenu.razor.css @@ -198,6 +198,7 @@ } .nav-header { + padding-left: 3.75rem; padding-right: 0.75rem; } }