nandi/frqpublic Fork 0
259a064
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.

Put the line being typed in the middle of the bar

The entry asks for a fixed width, so on a window wider than that the
compose row sat in the left corner of an otherwise empty bar. Centred
now, with a little air under it so it does not sit flat on the bottom
edge — and the backlog reserves that much more room above it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nandi committed 2026-08-30T18:22:16-07:00 Browse files
259a064 parent: a477f70
modified src/frq/app.jolt +9 -2
@@ -733,7 +733,7 @@
733733 ;; compose bar, and should: each appears because the reader just
734734 ;; asked for something unlike the jump button, which appears
735735 ;; on its own and must not shift what is under it.
736- :reserve (+ 116
736+ :reserve (+ 124
737737 (if @s/replying-to 34 0)
738738 (if @s/attachment 76 0))
739739 :stick-to-bottom true
@@ -771,7 +771,14 @@
771771 "Uploading…"
772772 "Picture attached")}]
773773 [:button {:label "" :on-click s/clear-attachment!}]])]
774- [:hbox {:spacing 8}
774+ ;; The line and its buttons on the middle of the width rather than
775+ ;; against its left edge: the entry asks for a fixed width, and on a
776+ ;; window wider than that a left-aligned row leaves it stranded in the
777+ ;; corner of an otherwise empty bar. On a phone the row is as wide as the
778+ ;; window and centring costs nothing.
779+ ;; A little air under the row, so the line being typed does not sit flat
780+ ;; on the bottom edge of the window.
781+ [:hbox {:spacing 8 :align :center :margin-bottom 8}
775782 ;; narrow enough that Send keeps its place on a phone-width row
776783 ;; A picture is pasted where everything else is typed: Ctrl+V. The field
777784 ;; answers a paste of text with the text, and one of a picture reaches
@@ -733,7 +733,7 @@
733 ;; compose bar, and should: each appears because the reader just733 ;; compose bar, and should: each appears because the reader just
734 ;; asked for something unlike the jump button, which appears734 ;; asked for something unlike the jump button, which appears
735 ;; on its own and must not shift what is under it.735 ;; on its own and must not shift what is under it.
736- :reserve (+ 116736+ :reserve (+ 124
737 (if @s/replying-to 34 0)737 (if @s/replying-to 34 0)
738 (if @s/attachment 76 0))738 (if @s/attachment 76 0))
739 :stick-to-bottom true739 :stick-to-bottom true
@@ -771,7 +771,14 @@
771 "Uploading…"771 "Uploading…"
772 "Picture attached")}]772 "Picture attached")}]
773 [:button {:label "" :on-click s/clear-attachment!}]])]773 [:button {:label "" :on-click s/clear-attachment!}]])]
774- [:hbox {:spacing 8}774+ ;; The line and its buttons on the middle of the width rather than
775+ ;; against its left edge: the entry asks for a fixed width, and on a
776+ ;; window wider than that a left-aligned row leaves it stranded in the
777+ ;; corner of an otherwise empty bar. On a phone the row is as wide as the
778+ ;; window and centring costs nothing.
779+ ;; A little air under the row, so the line being typed does not sit flat
780+ ;; on the bottom edge of the window.
781+ [:hbox {:spacing 8 :align :center :margin-bottom 8}
775 ;; narrow enough that Send keeps its place on a phone-width row782 ;; narrow enough that Send keeps its place on a phone-width row
776 ;; A picture is pasted where everything else is typed: Ctrl+V. The field783 ;; A picture is pasted where everything else is typed: Ctrl+V. The field
777 ;; answers a paste of text with the text, and one of a picture reaches784 ;; answers a paste of text with the text, and one of a picture reaches