From 37339f4ebe0b4d935b2748aa858c771ad20e8242 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Wed, 18 Feb 2026 00:12:45 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20lien=20Photo=20dans=20le=20header=20ave?= =?UTF-8?q?c=20s=C3=A9parateur=20et=20correction=20alignement=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/photo/CategoryNav.astro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/photo/CategoryNav.astro b/src/components/photo/CategoryNav.astro index a2cc882..9fa2f54 100644 --- a/src/components/photo/CategoryNav.astro +++ b/src/components/photo/CategoryNav.astro @@ -75,6 +75,7 @@ const categories = sortedCategories.map(cat => ({ id: cat.id, title: cat.data.ti display: flex; align-items: center; gap: 10px; + height: 100%; } .site-link { @@ -94,6 +95,7 @@ const categories = sortedCategories.map(cat => ({ id: cat.id, title: cat.data.ti .site-title .nav-link { padding-bottom: 0; + font-size: 18px; } .hamburger { @@ -205,14 +207,14 @@ const categories = sortedCategories.map(cat => ({ id: cat.id, title: cat.data.ti text-align: center; } - .nav-link { + .nav-menu .nav-link { display: block; padding: 15px 20px; font-size: 18px; border-bottom: none; } - .nav-link.active { + .nav-menu .nav-link.active { background: rgba(255, 255, 255, 0.1); border-bottom: none; } @@ -232,7 +234,8 @@ const categories = sortedCategories.map(cat => ({ id: cat.id, title: cat.data.ti } @media (max-width: 480px) { - .site-name { + .site-name, + .site-title .nav-separator { display: none; } }