Center login content for every screen size (#18943)

This commit is contained in:
Paul Bottein 2023-12-07 14:45:05 +01:00 committed by GitHub
parent 8d08aa8c79
commit 0f9c97aea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 14 deletions

View File

@ -26,7 +26,8 @@
width: 100%;
max-width: 400px;
margin: 0 auto;
box-sizing: border-box;
padding: 0 16px;
box-sizing: content-box;
}
.header {
@ -40,12 +41,6 @@
height: 56px;
width: 56px;
}
@media (max-width: 592px) {
.content {
margin: 0 16px;
}
}
</style>
</head>
<body>

View File

@ -22,7 +22,8 @@
.content {
max-width: 560px;
margin: 0 auto;
box-sizing: border-box;
padding: 0 16px;
box-sizing: content-box;
}
.header {
@ -36,12 +37,6 @@
height: 56px;
width: 56px;
}
@media (max-width: 592px) {
.content {
margin: 0 16px;
}
}
</style>
</head>
<body id="particles">