diff --git a/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/MainScreen.kt b/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/MainScreen.kt index 2ff1cf812..b74670b81 100644 --- a/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/MainScreen.kt +++ b/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/MainScreen.kt @@ -25,6 +25,7 @@ import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.saveable.rememberSaveable +import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.dp @@ -224,7 +225,10 @@ fun MainScreen( val scaffoldPadding = remember { mutableStateOf(PaddingValues(0.dp)) } - Row(modifier = modifier.fillMaxSize()) { + Row( + modifier = modifier.fillMaxSize(), + verticalAlignment = Alignment.CenterVertically, + ) { AnimatedVisibility(visible = navigationType == NavigationRail) { GlassLikeNavRail( hazeState = hazeState, diff --git a/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/section/GlassLikeNavRail.kt b/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/section/GlassLikeNavRail.kt index 838f90be2..b7907cff7 100644 --- a/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/section/GlassLikeNavRail.kt +++ b/feature/main/src/commonMain/kotlin/io/github/droidkaigi/confsched/main/section/GlassLikeNavRail.kt @@ -74,7 +74,8 @@ fun GlassLikeNavRail( modifier: Modifier = Modifier, ) { Box( - modifier = modifier.size(width = 64.dp, height = 320.dp) + modifier = modifier + .size(width = 64.dp, height = 420.dp) .run { if (isBlurSupported()) { hazeChild(state = hazeState, shape = CircleShape).border(