T24a round 2 fix

- a dialog's body scroll box holds one inner column, so the body keeps
  its height and scrolls instead of shrinking to the capped card
- test a_tall_dialog_body_keeps_its_height_and_scrolls: 2000px stays
  2000px and a 300px wheel moves it 300px
This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 08:17:18 -04:00
1 parent aac5e4ead2
commit 055d425a90
3 files changed
+44 -9

No files matched your search

+1 -4
View File
@@ -210,10 +210,7 @@ impl RenderOnce for Dialog {
.id((self.id.clone(), "body"))
.min_h_0()
.overflow_y_scroll()
.flex()
.flex_col()
.gap_5()
.children(self.body)
.child(div().flex().flex_col().gap_5().children(self.body))
});
div()
.id(self.id.clone())