T24d round 1 fix

- BrowserPreview's frame strip scrolls sideways, so every frame stays in
  reach in a narrow card
- ArtifactPanel's header wraps: the title keeps label_width, the controls
  ride in one group that wraps inside the box
- tests: a_narrow_strip_scrolls_to_its_last_frame,
  a_narrow_panel_wraps_its_header
- AGENTS: everything works at 280px
This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 09:07:14 -04:00
1 parent 26913df98a
commit e99a86bed5
5 files changed
+166 -29

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ impl RenderOnce for BrowserPreview {
let shown = self.shown;
let strip = (self.frames.len() > 1).then(|| {
div()
.id((self.id.clone(), "strip"))
.overflow_x_scroll()
.flex()
.gap_1p5()
.p_2()