Skip to content

Commit a05bf1f

Browse files
committed
maxHeight
1 parent e39da67 commit a05bf1f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/max-height.blade.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,37 @@ features:
2626
],
2727
]
2828
])
29+
30+
## Customizing
31+
32+
### Responsive, Hover, and Focus Variants
33+
34+
By default, no hover, focus, or group-hover variants are generated for max height utilities.
35+
36+
You can control which variants are generated for the max height utilities by modifying the `maxHeight` property in the `modules` section of your Tailwind config file.
37+
38+
For example, this config will _also_ generate hover and focus variants:
39+
40+
```js
41+
{
42+
// ...
43+
modules: {
44+
// ...
45+
maxHeight: ['responsive', 'hover', 'focus'],
46+
}
47+
}
48+
```
49+
50+
### Disabling
51+
52+
If you aren't using the max height utilities in your project, you can disable them entirely by setting the `maxHeight` property to `false` in the `modules` section of your config file:
53+
54+
```js
55+
{
56+
// ...
57+
modules: {
58+
// ...
59+
maxHeight: false,
60+
}
61+
}
62+
```

0 commit comments

Comments
 (0)