min-width
Utilities for setting the minimum width constraint of an element.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let col = container(content).tw(tw!("flex-1 min-w-0"));use iss::typed::*;
let style = IssStyle::new().flex_1().min_w(0);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
min-w-<n> |
min-width: calc(var(--spacing) * <n>); |
.min_w(48) |
min-w-0 / min-w-full |
min-width: 0px / 100%; |
.min_w(0) / .min_w_full() |
min-w-min / min-w-max / min-w-fit |
min-width: min-content / max-content / fit-content; |
.min_w_fit() |
min-w-3xs .. min-w-7xl |
Container scale minimum widths; |
.min_w_px(384) |
min-w-[200px] |
min-width: 200px; |
.min_w_px(200) |
Behavior Notes
Section titled “Behavior Notes”- Add
min-w-0to flex children withtruncatetext so they shrink inside narrow panes.