Skip to content

Commit

Permalink
Fix menu seach bar end padding
Browse files Browse the repository at this point in the history
  • Loading branch information
abaker committed Jun 16, 2024
1 parent 36a28b6 commit ab0f123
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fun TaskListDrawer(
SearchBar(
modifier = Modifier
.onFocusChanged { hasFocus = it.hasFocus }
.padding(start = 8.dp, bottom = 4.dp)
.padding(start = 8.dp, end = if (hasFocus) 8.dp else 0.dp, bottom = 4.dp)
.weight(1f)
.animateContentSize(
animationSpec = spring(
Expand Down

0 comments on commit ab0f123

Please sign in to comment.