fix(ui): align settings cards with heading, full width in container

This commit is contained in:
2026-07-05 22:07:36 +08:00
parent 557d0a86d0
commit 2aeaa560d6

View File

@@ -12,8 +12,7 @@
<div class="alert alert-error">{{ error }}</div> <div class="alert alert-error">{{ error }}</div>
{% endif %} {% endif %}
<div style="max-width:560px;margin:0 auto"> <div class="form-card">
<div class="form-card" style="padding:1.5rem 2rem">
<h3 style="margin-bottom:.75rem">修改用户名</h3> <h3 style="margin-bottom:.75rem">修改用户名</h3>
<form method="post" action="/settings/change-username"> <form method="post" action="/settings/change-username">
<label>当前用户名</label> <label>当前用户名</label>
@@ -40,5 +39,4 @@
</div> </div>
</form> </form>
</div> </div>
</div>
{% endblock %} {% endblock %}