v0.2.8: Site & Keyword Reordering Support & Slim Bottom Bar Margins

This commit is contained in:
2026-08-20 23:53:28 +00:00
parent 5c272a76e7
commit 8f2f5b29d3
@@ -82,7 +82,7 @@ fun MainScreen(viewModel: MainViewModel) {
Row( Row(
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.height(54.dp), .height(48.dp),
verticalAlignment = Alignment.CenterVertically verticalAlignment = Alignment.CenterVertically
) { ) {
val navItems = listOf( val navItems = listOf(
@@ -119,29 +119,29 @@ fun MainScreen(viewModel: MainViewModel) {
if (isSelected) { if (isSelected) {
Box( Box(
modifier = Modifier modifier = Modifier
.width(20.dp) .width(18.dp)
.height(3.dp) .height(2.5.dp)
.clip(CornerRadius.shapePill) .clip(CornerRadius.shapePill)
.background(MaterialTheme.colorScheme.primary) .background(MaterialTheme.colorScheme.primary)
) )
Spacer(modifier = Modifier.height(3.dp)) Spacer(modifier = Modifier.height(2.dp))
} else { } else {
Spacer(modifier = Modifier.height(6.dp)) Spacer(modifier = Modifier.height(4.5.dp))
} }
Icon( Icon(
imageVector = if (isSelected) selectedIcon else unselectedIcon, imageVector = if (isSelected) selectedIcon else unselectedIcon,
contentDescription = label, contentDescription = label,
tint = itemColor, tint = itemColor,
modifier = Modifier.size(22.dp) modifier = Modifier.size(20.dp)
) )
Spacer(modifier = Modifier.height(2.dp)) Spacer(modifier = Modifier.height(1.dp))
Text( Text(
text = label, text = label,
style = MaterialTheme.typography.labelSmall.copy( style = MaterialTheme.typography.labelSmall.copy(
fontSize = 11.sp, fontSize = 10.5.sp,
fontWeight = if (isSelected) FontWeight.Bold else FontWeight.Medium fontWeight = if (isSelected) FontWeight.Bold else FontWeight.Medium
), ),
color = itemColor color = itemColor