Find Modifier.fillMaxXxx().padding(...) chains
ProprietaryModifier order matters: Modifier.fillMaxSize().padding(8.dp) fills the parent first and then insets — the visible content is smaller than the parent. Modifier.padding(8.dp).fillMaxSize() insets the available space and then fills it, producing a layout that hugs the padded box. The right order is intent-specific; flag chains for review.
org. openrewrite. kotlin. compose. FindModifierFillMaxAndPaddingOrderSmell$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindModifierFillMaxAndPaddingOrderSmell$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.