nandi/frqpublic Fork 0
53ef1ea
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Centre the compose row in the strip under the separator

The row had less air beneath it than above: the screen trimmed its bottom
margin to 4, and the row's own 8 did not answer the three column gaps
overhead — one after the separator, one each for the reply banner and the
attachment, which cost a gap apiece whether or not they hold anything.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nandi committed 2026-08-30T19:10:41-07:00 Browse files
53ef1ea parent: fd9ad7e
modified src/frq/app.jolt +10 -6
@@ -839,9 +839,9 @@
839839 ;; Not a :page — a page scrolls everything, which would carry the compose
840840 ;; bar off the bottom with the backlog. The message list is the only thing
841841 ;; that scrolls, bounded so what follows it keeps its room.
842- ;; Less room under the compose row than around it: the space a row at the
843- ;; bottom of a screen wants is above it, not beneath it.
844- [:vbox {:spacing 8 :margin 12 :margin-bottom 4}
842+ ;; Same margin all round: the compose row's own air is what centres it in
843+ ;; the strip below the separator, and it is measured from this edge.
844+ [:vbox {:spacing 8 :margin 12}
845845 [:hbox {:spacing 8}
846846 ;; The way back to the list, on a window with room for one thing at a
847847 ;; time. Beside the list there is nothing to go back to, so the button
@@ -923,9 +923,13 @@
923923 ;; window wider than that a left-aligned row leaves it stranded in the
924924 ;; corner of an otherwise empty bar. On a phone the row is as wide as the
925925 ;; window and centring costs nothing.
926- ;; A little air under the row, so the line being typed does not sit flat
927- ;; on the bottom edge of the window.
928- [:hbox {:spacing 8 :align :center :margin-bottom 8}
926+ ;; Equal air above and below, so the row sits on the middle of the strip
927+ ;; between the separator and the bottom edge rather than flat against it.
928+ ;; Above it is three of the column's gaps: one after the separator and one
929+ ;; for each of the empty wrappers — the reply banner and the attachment,
930+ ;; which cost a gap apiece whether or not they have anything in them. This
931+ ;; margin plus the window's own is what answers them underneath.
932+ [:hbox {:spacing 8 :align :center :margin-bottom 12}
929933 ;; narrow enough that Send keeps its place on a phone-width row
930934 ;; A picture is pasted where everything else is typed: Ctrl+V. The field
931935 ;; answers a paste of text with the text, and one of a picture reaches
@@ -839,9 +839,9 @@
839 ;; Not a :page — a page scrolls everything, which would carry the compose839 ;; Not a :page — a page scrolls everything, which would carry the compose
840 ;; bar off the bottom with the backlog. The message list is the only thing840 ;; bar off the bottom with the backlog. The message list is the only thing
841 ;; that scrolls, bounded so what follows it keeps its room.841 ;; that scrolls, bounded so what follows it keeps its room.
842- ;; Less room under the compose row than around it: the space a row at the842+ ;; Same margin all round: the compose row's own air is what centres it in
843- ;; bottom of a screen wants is above it, not beneath it.843+ ;; the strip below the separator, and it is measured from this edge.
844- [:vbox {:spacing 8 :margin 12 :margin-bottom 4}844+ [:vbox {:spacing 8 :margin 12}
845 [:hbox {:spacing 8}845 [:hbox {:spacing 8}
846 ;; The way back to the list, on a window with room for one thing at a846 ;; The way back to the list, on a window with room for one thing at a
847 ;; time. Beside the list there is nothing to go back to, so the button847 ;; time. Beside the list there is nothing to go back to, so the button
@@ -923,9 +923,13 @@
923 ;; window wider than that a left-aligned row leaves it stranded in the923 ;; window wider than that a left-aligned row leaves it stranded in the
924 ;; corner of an otherwise empty bar. On a phone the row is as wide as the924 ;; corner of an otherwise empty bar. On a phone the row is as wide as the
925 ;; window and centring costs nothing.925 ;; window and centring costs nothing.
926- ;; A little air under the row, so the line being typed does not sit flat926+ ;; Equal air above and below, so the row sits on the middle of the strip
927- ;; on the bottom edge of the window.927+ ;; between the separator and the bottom edge rather than flat against it.
928- [:hbox {:spacing 8 :align :center :margin-bottom 8}928+ ;; Above it is three of the column's gaps: one after the separator and one
929+ ;; for each of the empty wrappers — the reply banner and the attachment,
930+ ;; which cost a gap apiece whether or not they have anything in them. This
931+ ;; margin plus the window's own is what answers them underneath.
932+ [:hbox {:spacing 8 :align :center :margin-bottom 12}
929 ;; narrow enough that Send keeps its place on a phone-width row933 ;; narrow enough that Send keeps its place on a phone-width row
930 ;; A picture is pasted where everything else is typed: Ctrl+V. The field934 ;; A picture is pasted where everything else is typed: Ctrl+V. The field
931 ;; answers a paste of text with the text, and one of a picture reaches935 ;; answers a paste of text with the text, and one of a picture reaches