From 24edddfebbc367927d59c3a7190cb833c5cb8b68 Mon Sep 17 00:00:00 2001 From: Slava Yultyyev Date: Wed, 30 Apr 2025 12:19:15 -0700 Subject: [PATCH] docs: add `*-lh` utilities to height, min-height, and max-height docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These line-height-based sizing utilities were added in [tailwindcss#17790](https://github.com/tailwindlabs/tailwindcss/pull/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 --- src/docs/height.mdx | 1 + src/docs/max-height.mdx | 1 + src/docs/min-height.mdx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/docs/height.mdx b/src/docs/height.mdx index 517ba11b9..03e701b0d 100644 --- a/src/docs/height.mdx +++ b/src/docs/height.mdx @@ -25,6 +25,7 @@ export const description = "Utilities for setting the height of an element."; ["h-min", "height: min-content;"], ["h-max", "height: max-content;"], ["h-fit", "height: fit-content;"], + ["h-lh", "height: 1lh;"], ["h-()", "height: var();"], ["h-[]", "height: ;"], ["size-", "width: calc(var(--spacing) * );\nheight: calc(var(--spacing) * );"], diff --git a/src/docs/max-height.mdx b/src/docs/max-height.mdx index 0e26174ec..2f8faa031 100644 --- a/src/docs/max-height.mdx +++ b/src/docs/max-height.mdx @@ -24,6 +24,7 @@ export const description = "Utilities for setting the maximum height of an eleme ["max-h-min", "max-height: min-content;"], ["max-h-max", "max-height: max-content;"], ["max-h-fit", "max-height: fit-content;"], + ["max-h-lh", "max-height: 1lh;"], ["max-h-()", "max-height: var();"], ["max-h-[]", "max-height: ;"], ]} diff --git a/src/docs/min-height.mdx b/src/docs/min-height.mdx index 4f4ca7150..ea36ca487 100644 --- a/src/docs/min-height.mdx +++ b/src/docs/min-height.mdx @@ -24,6 +24,7 @@ export const description = "Utilities for setting the minimum height of an eleme ["min-h-min", "min-height: min-content;"], ["min-h-max", "min-height: max-content;"], ["min-h-fit", "min-height: fit-content;"], + ["min-h-lh", "min-height: 1lh;"], ["min-h-()", "min-height: var();"], ["min-h-[]", "min-height: ;"], ]}