Constant freya::elements::svg::max_height
source · pub const max_height: (&'static str, Option<&'static str>, bool);
Expand description
Specify a maximum height for the given element.
See syntax for Size Units
.
§Usage
fn app() -> Element {
rsx!(
rect {
background: "red",
max_height: "50%",
width: "500",
height: "500",
}
)
}