Skip to content

Commit 0edb91a

Browse files
committed
overflow
1 parent 7a47c87 commit 0edb91a

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/overflow.blade.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,37 @@ For more information about Tailwind's responsive design features, check out the
219219
</div>
220220
@endslot
221221
@endcomponent
222+
223+
## Customizing
224+
225+
### Responsive, Hover, and Focus Variants
226+
227+
By default, no hover, focus, or group-hover variants are generated for overflow utilities.
228+
229+
You can control which variants are generated for the overflow utilities by modifying the `overflow` property in the `modules` section of your Tailwind config file.
230+
231+
For example, this config will _also_ generate hover and focus variants:
232+
233+
```js
234+
{
235+
// ...
236+
modules: {
237+
// ...
238+
overflow: ['responsive', 'hover', 'focus'],
239+
}
240+
}
241+
```
242+
243+
### Disabling
244+
245+
If you aren't using the overflow utilities in your project, you can disable them entirely by setting the `overflow` property to `false` in the `modules` section of your config file:
246+
247+
```js
248+
{
249+
// ...
250+
modules: {
251+
// ...
252+
overflow: false,
253+
}
254+
}
255+
```

0 commit comments

Comments
 (0)