From 302e6556dd1aa312f3ef2d2faeade81e5e0812ff Mon Sep 17 00:00:00 2001 From: xfy Date: Mon, 18 May 2026 13:36:23 +0800 Subject: [PATCH] =?UTF-8?q?MonthHeader=20=E5=B9=B4=E6=9C=88=E4=B8=8E?= =?UTF-8?q?=E5=91=A8=E5=8F=B7=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD=E5=AF=B9?= =?UTF-8?q?=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../src/commonMain/kotlin/plus/rua/project/ui/MonthHeader.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/src/commonMain/kotlin/plus/rua/project/ui/MonthHeader.kt b/shared/src/commonMain/kotlin/plus/rua/project/ui/MonthHeader.kt index c079a1d..ea5b8c9 100644 --- a/shared/src/commonMain/kotlin/plus/rua/project/ui/MonthHeader.kt +++ b/shared/src/commonMain/kotlin/plus/rua/project/ui/MonthHeader.kt @@ -46,7 +46,7 @@ fun MonthHeader( modifier = modifier .fillMaxWidth() .padding(vertical = 14.dp, horizontal = 12.dp), - verticalAlignment = Alignment.Bottom + verticalAlignment = Alignment.CenterVertically ) { AnimatedContent( targetState = Pair(year, month), @@ -77,7 +77,7 @@ fun MonthHeader( slideOutVertically(tween(250)) { -it } + fadeOut(tween(250)) } }, - modifier = Modifier.padding(bottom = 2.dp) + modifier = Modifier ) { week -> Text( text = "第${week}周",