Skip to content

Commit 807a45b

Browse files
committed
ui: adjust horizontal padding in bottom navigation items
- Reduce the `targetValue` for horizontal padding in both selected and unselected states within `BottomNavigation.kt`. - Update selected padding from 20.dp to 14.dp and unselected padding from 14.dp to 10.dp.
1 parent 4698e7b commit 807a45b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/BottomNavigation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ private fun LiquidGlassTabItem(
360360
)
361361

362362
val horizontalPadding by animateDpAsState(
363-
targetValue = if (isSelected) 20.dp else 14.dp,
363+
targetValue = if (isSelected) 14.dp else 10.dp,
364364
animationSpec =
365365
spring(
366366
dampingRatio = Spring.DampingRatioNoBouncy,

0 commit comments

Comments
 (0)