diff --git a/composeApp/src/commonMain/kotlin/com/derakkuma/ui/components/ExpressiveSurfaces.kt b/composeApp/src/commonMain/kotlin/com/derakkuma/ui/components/ExpressiveSurfaces.kt index a093b2c..e1281f1 100644 --- a/composeApp/src/commonMain/kotlin/com/derakkuma/ui/components/ExpressiveSurfaces.kt +++ b/composeApp/src/commonMain/kotlin/com/derakkuma/ui/components/ExpressiveSurfaces.kt @@ -11,6 +11,7 @@ import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.compose.ui.graphics.Color @@ -59,6 +60,7 @@ fun ExpressiveIconSurface( .size(size) .clip(shape) .background(containerColor), + contentAlignment = Alignment.Center, content = content, ) }