diff --git a/css/profile.css b/css/profile.css index abaa648..f23a2f2 100644 --- a/css/profile.css +++ b/css/profile.css @@ -117,11 +117,10 @@ CSS für die Profilseite } .profile-layout-container { + display: flex !important; flex-direction: column !important; - align-items: center !important; - justify-content: center !important; + align-items: center !important; /* Zentriert weiße Boxen untereinander */ width: 100% !important; - margin: 0 auto !important; } /* Erzwingt das Zentrieren der Boxen */ @@ -129,9 +128,8 @@ CSS für die Profilseite flex: 0 1 auto !important; width: 100% !important; max-width: 450px !important; - 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 */ + margin: 0 auto 20px auto !important; /* Zentriert die Boxen */ + box-sizing: border-box !important; } } \ No newline at end of file