app: align search fields with app grids

On wide windows the DenyList and Grant search fields were centered
within their 720dp cap, while the app grid below them starts at the
left edge. With few results the cards sat far left under an indented
search field.

Keep the 720dp cap, which is the M3 search bar maximum, but align the
field to the start so it lines up with the grid and the top app bar
title. Compact windows are unchanged since the field fills the width.

Assisted-by: Claude Opus 5.5
This commit is contained in:
topjohnwu
2026-10-08 10:35:49 -07:00
committed by John Wu
parent 96e6d90d0f
commit 5f1135036d
2 changed files with 0 additions and 2 deletions
@@ -201,7 +201,6 @@ fun DenyListScreen(
query = query,
onQueryChange = viewModel::setQuery,
modifier = Modifier
.align(Alignment.CenterHorizontally)
.widthIn(max = 720.dp)
.fillMaxWidth()
.padding(horizontal = 16.dp, vertical = 6.dp)
@@ -176,7 +176,6 @@ fun SuperuserGrantScreen(
query = query,
onQueryChange = viewModel::setQuery,
modifier = Modifier
.align(Alignment.CenterHorizontally)
.widthIn(max = 720.dp)
.fillMaxWidth()
.padding(horizontal = 16.dp, vertical = 6.dp)