fix(ui): center settings cards to fix uneven left-right spacing
This commit is contained in:
@@ -12,7 +12,8 @@
|
|||||||
<div class="alert alert-error">{{ error }}</div>
|
<div class="alert alert-error">{{ error }}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="form-card" style="max-width:400px">
|
<div style="max-width:400px;margin:0 auto">
|
||||||
|
<div class="form-card">
|
||||||
<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>
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-card" style="max-width:400px;margin-top:1.5rem">
|
<div class="form-card" style="margin-top:1.5rem">
|
||||||
<h3 style="margin-bottom:.75rem">修改密码</h3>
|
<h3 style="margin-bottom:.75rem">修改密码</h3>
|
||||||
<form method="post" action="/settings/change-password">
|
<form method="post" action="/settings/change-password">
|
||||||
<label>当前密码</label>
|
<label>当前密码</label>
|
||||||
@@ -39,4 +40,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user