From 36558e97cb800f9c59803c40498f8845cc2b0d67 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 22 Jan 2026 17:23:34 +0000 Subject: [PATCH] Fix layout centering in aurora-livecam - Center header container and navigation - Add padding-right to header to prevent overlap with language selector buttons - Change nav ul justify-content from space-around to center for better alignment --- aurora-livecam/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aurora-livecam/index.php b/aurora-livecam/index.php index 7b478aa..3b12eed 100644 --- a/aurora-livecam/index.php +++ b/aurora-livecam/index.php @@ -1532,9 +1532,10 @@ header { header .container { display: flex; align-items: center; - justify-content: space-between; + justify-content: center; gap: 20px; flex-wrap: wrap; + padding-right: 120px; /* Platz für Sprachauswahl */ } .logo img { height: 50px; } @@ -1568,7 +1569,7 @@ header .container { border-radius: 2px; } -nav ul { list-style: none; padding: 0; display: flex; justify-content: space-around; flex-wrap: wrap; margin: 0; } +nav ul { list-style: none; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; margin: 0; } nav ul li { margin: 5px 10px; } nav ul li a { text-decoration: none; color: #333; font-weight: bold; padding: 5px 10px; transition: color 0.3s; } nav ul li a:hover { color: #4CAF50; }