Skip to content

Commit faa4916

Browse files
committed
Add back a comment from the commit message of commit 026d258
1 parent 4310ec1 commit faa4916

File tree

1 file changed

+1
-0
lines changed
  • common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout

1 file changed

+1
-0
lines changed

common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout/Column.js.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ actual interface ColumnScope {
4242
@FloatRange(from = 0.0, fromInclusive = false)
4343
weight: Float
4444
): Modifier =
45+
// `flex-basis: 0` added to be consistent with the Compose UI behavior
4546
with(platformValue) { platformModify { flexBasis0().weight(weight) } }
4647

4748
@Stable

0 commit comments

Comments
 (0)