From 98683197e0fe64a062db125720873e7961266bb9 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 29 May 2026 15:33:00 +0200 Subject: [PATCH] Update profile.css --- css/profile.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/css/profile.css b/css/profile.css index 92bc505..042df70 100644 --- a/css/profile.css +++ b/css/profile.css @@ -109,17 +109,21 @@ CSS für die Profilseite /* --- RESPONSIVE DESIGN (MOBILGERÄTE) --- */ @media (max-width: 760px) { .profile-layout-container { - flex-direction: column; - align-items: center; - width: 100%; + flex-direction: column !important; + align-items: center !important; + justify-content: center !important; + width: 100% !important; + margin: 0 auto !important; } - /* Überschreibt das flex-grow der main.css und erzwingt zentrieren: */ + /* Erzwingt das Zentrieren der Boxen */ .form-container { flex: 0 1 auto !important; width: 100% !important; max-width: 450px !important; - margin: 0 auto !important; /* Zentriert den gesamten Container horizontal */ + margin-left: auto !important; /* Box von links in die Mitte */ + margin-right: auto !important; /* Box von rechts in die Mitte */ + margin-bottom: 20px !important;/* Abstand zwischen beiden Boxen */ } } \ No newline at end of file