Skip to content

docs: add h-lh, min-h-lh, max-h-lh utilities to height, min-height, and max-height docs #2227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/docs/height.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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-(<custom-property>)", "height: var(<custom-property>);"],
["h-[<value>]", "height: <value>;"],
["size-<number>", "width: calc(var(--spacing) * <number>);\nheight: calc(var(--spacing) * <number>);"],
Expand Down
1 change: 1 addition & 0 deletions src/docs/max-height.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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-(<custom-property>)", "max-height: var(<custom-property>);"],
["max-h-[<value>]", "max-height: <value>;"],
]}
Expand Down
1 change: 1 addition & 0 deletions src/docs/min-height.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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-(<custom-property>)", "min-height: var(<custom-property>);"],
["min-h-[<value>]", "min-height: <value>;"],
]}
Expand Down