Skip to content

Commit 6b56ed5

Browse files
committed
library: Card: Don't fillMaxSize by default
1 parent 355de0a commit 6b56ed5

File tree

1 file changed

+0
-2
lines changed
  • miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic

1 file changed

+0
-2
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/Card.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import androidx.compose.foundation.layout.BoxScope
1818
import androidx.compose.foundation.layout.Column
1919
import androidx.compose.foundation.layout.ColumnScope
2020
import androidx.compose.foundation.layout.PaddingValues
21-
import androidx.compose.foundation.layout.fillMaxSize
2221
import androidx.compose.foundation.layout.padding
2322
import androidx.compose.foundation.shape.RoundedCornerShape
2423
import androidx.compose.runtime.Composable
@@ -148,7 +147,6 @@ fun Card(
148147
interactionSource = interactionSource,
149148
indication = if (showIndication == true) currentIndication else null
150149
)
151-
.fillMaxSize()
152150
.padding(insideMargin)
153151
}
154152
Column(

0 commit comments

Comments
 (0)