nandi/frqpublic Fork 0
52bb072
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.

Stop an edited line's chips overflowing the heading

Prose in a row is Flexible and the chip row that fills is Expanded, so the
heading's nick, clock, "(edited)" and chips were four flex children taking a
quarter of the row each. On a phone a quarter is narrower than three pills,
and every line you had rewritten wore Flutter's overflow stripes.

Prose beside a filling sibling now takes the width of its words, which is the
rule the button arm below it already applies for the same arithmetic.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nandi committed 2026-09-12T09:10:30-07:00 Browse files
52bb072 parent: e5adf58
modified flutter/src/frq/hiccup.cljd +13 -1
@@ -446,7 +446,9 @@
446446 leaves the rest of its half empty — the row then has slack, `:align :end`
447447 pushes what is in it to the right, and the box the reader types into starts
448448 halfway across the card. A button beside something that fills takes the width
449- of its label and no share at all; the thing that fills is what gives."
449+ of its label and no share at all; the thing that fills is what gives. Prose
450+ gives way the same way, and for the same arithmetic — the message heading is
451+ where that one showed."
450452 ([fills? nodes]
451453 (flexed fills? nodes
452454 (and (identical? fills? fills-row?) (any-fills-row? nodes))))
@@ -479,7 +481,17 @@
479481 ;; and every nick ellipsised at the width of three letters
480482 ;; while the slot sat in 60 points of air it had asked for
481483 ;; 14 of.
484+ ;;
485+ ;; And not beside something that fills, for the reason the
486+ ;; button arm below says it: the message heading is a face,
487+ ;; a nick, a clock, an "(edited)" and the chip row that
488+ ;; fills, so four flex children took a quarter of the row
489+ ;; each, the chips were allotted less than three pills are
490+ ;; wide, and every line you had rewritten wore Flutter's
491+ ;; overflow stripes. Prose beside a filling sibling takes
492+ ;; the width of its words; what fills is what gives.
482493 (and (identical? fills? fills-row?) (flexes-in-row? n)
494+ (not sibling-fills?)
483495 (not (asks-width? n)))
484496 (conj! acc (m/Flexible .child (render n)))
485497 ;; A button in a row is loosely flexible for the same
@@ -446,7 +446,9 @@
446 leaves the rest of its half empty — the row then has slack, `:align :end`446 leaves the rest of its half empty — the row then has slack, `:align :end`
447 pushes what is in it to the right, and the box the reader types into starts447 pushes what is in it to the right, and the box the reader types into starts
448 halfway across the card. A button beside something that fills takes the width448 halfway across the card. A button beside something that fills takes the width
449- of its label and no share at all; the thing that fills is what gives."449+ of its label and no share at all; the thing that fills is what gives. Prose
450+ gives way the same way, and for the same arithmetic — the message heading is
451+ where that one showed."
450 ([fills? nodes]452 ([fills? nodes]
451 (flexed fills? nodes453 (flexed fills? nodes
452 (and (identical? fills? fills-row?) (any-fills-row? nodes))))454 (and (identical? fills? fills-row?) (any-fills-row? nodes))))
@@ -479,7 +481,17 @@
479 ;; and every nick ellipsised at the width of three letters481 ;; and every nick ellipsised at the width of three letters
480 ;; while the slot sat in 60 points of air it had asked for482 ;; while the slot sat in 60 points of air it had asked for
481 ;; 14 of.483 ;; 14 of.
484+ ;;
485+ ;; And not beside something that fills, for the reason the
486+ ;; button arm below says it: the message heading is a face,
487+ ;; a nick, a clock, an "(edited)" and the chip row that
488+ ;; fills, so four flex children took a quarter of the row
489+ ;; each, the chips were allotted less than three pills are
490+ ;; wide, and every line you had rewritten wore Flutter's
491+ ;; overflow stripes. Prose beside a filling sibling takes
492+ ;; the width of its words; what fills is what gives.
482 (and (identical? fills? fills-row?) (flexes-in-row? n)493 (and (identical? fills? fills-row?) (flexes-in-row? n)
494+ (not sibling-fills?)
483 (not (asks-width? n)))495 (not (asks-width? n)))
484 (conj! acc (m/Flexible .child (render n)))496 (conj! acc (m/Flexible .child (render n)))
485 ;; A button in a row is loosely flexible for the same497 ;; A button in a row is loosely flexible for the same