优化移动端显示

This commit is contained in:
CN-JS-HuiBai
2026-04-06 16:09:00 +08:00
parent d0455fb032
commit 1f12197a91
2 changed files with 575 additions and 6 deletions

View File

@@ -70,6 +70,33 @@
justify-content: center;
padding: 10px 0;
}
@media (max-width: 480px) {
body {
align-items: flex-start;
padding: 16px 12px;
}
.init-container {
padding: 24px 18px;
border-radius: 10px;
max-width: 100%;
}
.init-header h2 {
font-size: 18px;
}
.init-header p {
font-size: 12px;
}
.form-row {
flex-direction: column;
}
.actions {
flex-direction: column;
}
.actions .btn {
width: 100%;
}
}
</style>
</head>
<body>