diff --git a/crates/app/src/tests/layout.rs b/crates/app/src/tests/layout.rs index 45026c7..d087180 100644 --- a/crates/app/src/tests/layout.rs +++ b/crates/app/src/tests/layout.rs @@ -1303,7 +1303,10 @@ fn a_subtitle_group_header_is_never_gated_on_window_height() { let head_at = dock .find("\"dock-subtitle-group\"") .expect("no id on the group header"); - let block = &dock[head_at..(head_at + 2700).min(dock.len())]; + // Wide enough to reach the count line past the header's styling and its + // commentary -- a window that stops short reads as the line deleted + // (the same fixed-window misfire the modal-guard scan had, 2026-08-27). + let block = &dock[head_at..(head_at + 3600).min(dock.len())]; assert!( block.contains("sub_folded.remove"), "no fold-open path: {block}" diff --git a/crates/app/src/ui/dock_stance.rs b/crates/app/src/ui/dock_stance.rs index 6ce483f..f53bf9a 100644 --- a/crates/app/src/ui/dock_stance.rs +++ b/crates/app/src/ui/dock_stance.rs @@ -699,7 +699,12 @@ fn subtitle_tab_rows(player: &Player, cx: &mut Context) -> (usize, Vec) -> (usize, Vec) -> (usize, Vec