Constant freya_elements::elements::paragraph::min_height
source · pub const min_height: (&'static str, Option<&'static str>, bool);
Expand description
This can be useful if you use it alongside a percentage for the target size.
See syntax for Size Units
.
§Usage
fn app() -> Element {
rsx!(
rect {
background: "red",
min_width: "100",
min_height: "100",
width: "50%",
height: "50%",
}
)
}