Skip to content

Commit 53459c7

Browse files
committed
maxWidth
1 parent a05bf1f commit 53459c7

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,37 @@ features:
6666
],
6767
]
6868
])
69+
70+
## Customizing
71+
72+
### Responsive, Hover, and Focus Variants
73+
74+
By default, no hover, focus, or group-hover variants are generated for max width utilities.
75+
76+
You can control which variants are generated for the max width utilities by modifying the `maxWidth` property in the `modules` section of your Tailwind config file.
77+
78+
For example, this config will _also_ generate hover and focus variants:
79+
80+
```js
81+
{
82+
// ...
83+
modules: {
84+
// ...
85+
maxWidth: ['responsive', 'hover', 'focus'],
86+
}
87+
}
88+
```
89+
90+
### Disabling
91+
92+
If you aren't using the max width utilities in your project, you can disable them entirely by setting the `maxWidth` property to `false` in the `modules` section of your config file:
93+
94+
```js
95+
{
96+
// ...
97+
modules: {
98+
// ...
99+
maxWidth: false,
100+
}
101+
}
102+
```

0 commit comments

Comments
 (0)