Skip to content

Commit

Permalink
Merge pull request #3 from ahsankhan26/add/min-h-inherit
Browse files Browse the repository at this point in the history
add 'min-h-inherit' class
  • Loading branch information
ahsankhan26 authored Jul 31, 2024
2 parents c8bac15 + 44590d2 commit 33e6258
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tailwind-class-extend

A Tailwind CSS plugin for additional utility classes.
A TailwindCSS plugin for additional utility classes.

## Installation

Expand Down Expand Up @@ -40,3 +40,4 @@ module.exports = {
| flex-column | flex flex-col |
| word-break | word-break: break-word; |
| word-break-all | word-break: break-all; |
| min-h-inherit | min-height: inherit; |
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tailwind-class-extend",
"version": "1.0.3",
"version": "1.0.4",
"description": "A utility package for extending Tailwind CSS with additional useful classes.",
"main": "src/index.js",
"scripts": {},
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ module.exports = plugin(function ({ addUtilities }) {
'.word-break-all': {
wordBreak: 'break-all',
},
'.min-h-inherit': {
minHeight: 'inherit',
},
})
})

0 comments on commit 33e6258

Please sign in to comment.