Skip to content

Commit

Permalink
Merge branch 'main' into fix-focusable-query-selector
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiloNL authored Apr 2, 2024
2 parents cedf8fa + d72eae8 commit f5bdcb9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,24 @@ module.exports = {
}
```

For TailwindCSS `3x`
```js
export default {
content: [
'./vendor/wire-elements/modal/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
],
safelist: [
{
pattern: /max-w-(sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl)/,
variants: ['sm', 'md', 'lg', 'xl', '2xl']
}
],
// other options
}
```

## Configuration
You can customize the Modal via the `wire-elements-modal.php` config file. This includes some additional options like including CSS if you don't use TailwindCSS for your application, as well as the default modal properties.

Expand Down

0 comments on commit f5bdcb9

Please sign in to comment.