Update profile.css
This commit is contained in:
+9
-5
@@ -109,17 +109,21 @@ CSS für die Profilseite
|
|||||||
/* --- RESPONSIVE DESIGN (MOBILGERÄTE) --- */
|
/* --- RESPONSIVE DESIGN (MOBILGERÄTE) --- */
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.profile-layout-container {
|
.profile-layout-container {
|
||||||
flex-direction: column;
|
flex-direction: column !important;
|
||||||
align-items: center;
|
align-items: center !important;
|
||||||
width: 100%;
|
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 {
|
.form-container {
|
||||||
flex: 0 1 auto !important;
|
flex: 0 1 auto !important;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
max-width: 450px !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