maxSize

fun Modifier.maxSize(width: CssSize?, height: CssSize?): Modifier(source)

Set the maximal size (both width and height) of the current component.