fabrica

hanna/fabrica

style(web): align merge button, add title/pr-changes spacing

ba2c2fb · hanna committed on 2026-07-25

Add inline-btn to the Merge pull request button so it isn't pushed below the
method select by the stacked-form margin. Give issue/PR titles a little bottom
margin above the state line, and space the PR changes heading from its commits.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
6 files changed · +8 −2UnifiedSplit
assets/base.css +4 −0
@@ -503,6 +503,9 @@ body.drawer-open .drawer-backdrop {
503503 .pr-changes {
504504 margin-top: 1.5rem;
505505 }
506+.pr-changes h2 {
507+ margin-bottom: 0.85rem;
508+}
506509 .pr-commits {
507510 margin-bottom: 1rem;
508511 }
@@ -518,6 +521,7 @@ body.drawer-open .drawer-backdrop {
518521 display: flex;
519522 align-items: center;
520523 gap: 0.5rem;
524+ margin-bottom: 0.4rem;
521525 }
522526 .issue-edit > summary,
523527 .comment-edit > summary {
crates/web/src/pulls.rs +1 −1
@@ -391,7 +391,7 @@ fn merge_panel(
391391 option value="squash" { "Squash and merge" }
392392 option value="rebase" { "Rebase and merge" }
393393 }
394- button class="btn btn-primary" type="submit" { "Merge pull request" }
394+ button class="btn btn-primary inline-btn" type="submit" { "Merge pull request" }
395395 }
396396 }
397397 },
data/repos/01/01kyc0j4dzrnx6afv3wwfvxgn4.git/logs/HEAD +1 −0
@@ -1 +1,2 @@
11 0000000000000000000000000000000000000000 f09bd3e7f54bc32b967fdffb126b533e1a487f4d hanna <me@hanna.lol> 1784962339 -0400 push
2+f09bd3e7f54bc32b967fdffb126b533e1a487f4d 1570ae1be5f4b82bf24e1115681290e6d68808bf Hanna <me@hanna.lol> 1785020132 -0400
data/repos/01/01kyc0j4dzrnx6afv3wwfvxgn4.git/logs/refs/heads/main +1 −0
@@ -1 +1,2 @@
11 0000000000000000000000000000000000000000 f09bd3e7f54bc32b967fdffb126b533e1a487f4d hanna <me@hanna.lol> 1784962339 -0400 push
2+f09bd3e7f54bc32b967fdffb126b533e1a487f4d 1570ae1be5f4b82bf24e1115681290e6d68808bf Hanna <me@hanna.lol> 1785020132 -0400
data/repos/01/01kyc0j4dzrnx6afv3wwfvxgn4.git/objects/15/70ae1be5f4b82bf24e1115681290e6d68808bf +0 −0

Binary file not shown.

data/repos/01/01kyc0j4dzrnx6afv3wwfvxgn4.git/refs/heads/main +1 −1
@@ -1 +1 @@
1-f09bd3e7f54bc32b967fdffb126b533e1a487f4d
1+1570ae1be5f4b82bf24e1115681290e6d68808bf