╭ changed ──────────────╮ │src/ui/Repo/Commits.zig│ ╰───────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │436 } │ │437 } │ │438 │ │439 - try self.box.build(allocator, constraint, root_focus); │ │439 + // web browsers provide scrolling, so let every widget grow to │ │440 + // its natural size instead of clipping inside the diff scroll │ │441 + const build_constraint = if (self.session.is_terminal) constraint else layout.Constraint{│ │442 + .min_size = .{ .width = null, .height = null }, │ │443 + .max_size = .{ .width = null, .height = null }, │ │444 + }; │ │445 + try self.box.build(allocator, build_constraint, root_focus); │ │446 │ │447 // if the diff pane is selected but focus is still elsewhere in this view, │ │448 // the pane was too narrow to lay out when focus crossed over. it's laid │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯