fix(ui): align form-action buttons vertically

This commit is contained in:
2026-07-05 18:51:09 +08:00
parent 2ebec81137
commit 22d16174a5
2 files changed
+36 -1

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ input:focus, select:focus { outline: none; border-color: var(--primary); box-sha
input[type="text"] + label, input[type="password"] + label, input[type="datetime-local"] + label, select + label { margin-top: 1.1rem; }
.form-card { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); }
.form-actions { display: flex; gap: .75rem; margin-top: 1.25rem; align-items: center; }
.form-actions .btn, .form-actions button { display: inline-flex; align-items: center; white-space: nowrap; }
.form-actions .btn, .form-actions button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; height: 2.1rem; }
.form-card button[type="submit"] { margin-top: 1.25rem; }
.form-row { display: flex; gap: .5rem; align-items: center; }
.form-row input[type="text"], .form-row select { flex: 1; width: auto; min-width: 0; }
+35
View File
@@ -144,3 +144,38 @@ INFO: 127.0.0.1:65088 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61247 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:61247 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:58525 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64313 - "GET /postcards/2/edit HTTP/1.1" 303 See Other
INFO: 127.0.0.1:64313 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:64313 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64313 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56155 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56155 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:56155 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:64186 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64186 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:54092 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:54092 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:54092 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64172 - "GET /postcards/2/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64172 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53612 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53612 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53612 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64632 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64632 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64632 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56793 - "GET /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:56793 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:56793 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:56793 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63573 - "GET /postcards/2/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:63573 - "GET /static/style.css HTTP/1.1" 304 Not Modified