max-height
Utilities for setting the maximum height constraint of an element.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let list = container(rows).tw(tw!("max-h-72 overflow-y-auto rounded-lg border border-zinc-800"));use iss::typed::*;
let style = IssStyle::new().max_h(72).overflow_y_auto().rounded_lg();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
max-h-<n> |
max-height: calc(var(--spacing) * <n>); |
.max_h(80) |
max-h-none / max-h-full / max-h-screen |
max-height: none / 100% / 100vh; |
.max_h_none() / .max_h_full() |
max-h-fit / max-h-dvh |
Intrinsic and dynamic viewport max-height; |
.max_h_fit() |
max-h-[420px] |
max-height: 420px; |
.max_h_px(420) |