Skip to content

Commit 64f38d1

Browse files
authored
docs: add h-lh, min-h-lh, max-h-lh utilities to height, min-height, and max-height docs (#2227)
These line-height-based sizing utilities were added in [tailwindcss#17790](tailwindlabs/tailwindcss#17790) and released in **v4.1.5**. This PR adds the following utilities to their respective documentation pages: - `h-lh` → `height` page - `min-h-lh` → `min-height` page - `max-h-lh` → `max-height` page
1 parent ef953ab commit 64f38d1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/docs/height.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const description = "Utilities for setting the height of an element.";
2525
["h-min", "height: min-content;"],
2626
["h-max", "height: max-content;"],
2727
["h-fit", "height: fit-content;"],
28+
["h-lh", "height: 1lh;"],
2829
["h-(<custom-property>)", "height: var(<custom-property>);"],
2930
["h-[<value>]", "height: <value>;"],
3031
["size-<number>", "width: calc(var(--spacing) * <number>);\nheight: calc(var(--spacing) * <number>);"],

src/docs/max-height.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const description = "Utilities for setting the maximum height of an eleme
2424
["max-h-min", "max-height: min-content;"],
2525
["max-h-max", "max-height: max-content;"],
2626
["max-h-fit", "max-height: fit-content;"],
27+
["max-h-lh", "max-height: 1lh;"],
2728
["max-h-(<custom-property>)", "max-height: var(<custom-property>);"],
2829
["max-h-[<value>]", "max-height: <value>;"],
2930
]}

src/docs/min-height.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const description = "Utilities for setting the minimum height of an eleme
2424
["min-h-min", "min-height: min-content;"],
2525
["min-h-max", "min-height: max-content;"],
2626
["min-h-fit", "min-height: fit-content;"],
27+
["min-h-lh", "min-height: 1lh;"],
2728
["min-h-(<custom-property>)", "min-height: var(<custom-property>);"],
2829
["min-h-[<value>]", "min-height: <value>;"],
2930
]}

0 commit comments

Comments
 (0)