fix(input): fit the layout editor panel and binder on tall phones, and render previews at 21:9

This commit is contained in:
Kurt Himebauch committed 2026-12-04 15:23:02 -05:00
1 parent 431f253db1
commit 26dcce168a
40 files changed
+124 -41

No files matched your search

@@ -30,6 +30,10 @@ internal class PreviewRenderTest(private val case: PreviewCase) {
@Test @Config(qualifiers = "w540dp-h960dp-port-xhdpi")
fun portrait() = render("portrait")
/** A 21:9 phone held upright, where side panels and two-column rows run out of width first. */
@Test @Config(qualifiers = "w411dp-h960dp-port-xhdpi")
fun tall() = render("tall")
private fun render(size: String) {
compose.mainClock.autoAdvance = false
compose.setContent { case.content() }