Skip to content

Commit f1dab7e

Browse files
committed
Deprecate FIT_CONTENT as suggested by Gemini Code Assist code review
1 parent fb90a59 commit f1dab7e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • compose-html-common/src/jsMain/kotlin/com/huanshankeji/compose/web/css

compose-html-common/src/jsMain/kotlin/com/huanshankeji/compose/web/css/StyleScope.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ fun StyleScope.width(value: String) =
88
fun StyleScope.height(value: String) =
99
property("height", value)
1010

11+
@Deprecated("Use the style functions in `com.varabyte.kobweb.compose.css` with `FitContent` instead.")
1112
const val FIT_CONTENT = "fit-content"

0 commit comments

Comments
 (0)