A
AstraWind
v0.2.0
System
Sizing

max-height

Utilities for setting the maximum height of an element.

Quick reference

70 of 74 classes apply on React Native
Class
Styles
React Native
max-h-0
max-height: 0px;
maxHeight: 0
max-h-0.5
max-height: calc(var(--spacing) * 0.5);
maxHeight: 2
max-h-1
max-height: var(--spacing);
maxHeight: 4
max-h-1.5
max-height: calc(var(--spacing) * 1.5);
maxHeight: 6
max-h-2
max-height: calc(var(--spacing) * 2);
maxHeight: 8
max-h-2.5
max-height: calc(var(--spacing) * 2.5);
maxHeight: 10
max-h-3
max-height: calc(var(--spacing) * 3);
maxHeight: 12
max-h-3.5
max-height: calc(var(--spacing) * 3.5);
maxHeight: 14
max-h-4
max-height: calc(var(--spacing) * 4);
maxHeight: 16
max-h-5
max-height: calc(var(--spacing) * 5);
maxHeight: 20
max-h-6
max-height: calc(var(--spacing) * 6);
maxHeight: 24
max-h-7
max-height: calc(var(--spacing) * 7);
maxHeight: 28
Show all 74 classes
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See Compatibility.