Update profile.css
This commit is contained in:
+9
-5
@@ -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 */
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user