Skip to content

Commit

Permalink
Merge pull request #88 from Power-Components/remove-tailwindforms-con…
Browse files Browse the repository at this point in the history
…flict

Remove conflict with tailwindforms
  • Loading branch information
luanfreitasdev authored Jan 11, 2024
2 parents 38b4042 + 025360f commit b1a9376
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
Binary file removed docs/_media/conflict_tailwindforms.png
Binary file not shown.
23 changes: 0 additions & 23 deletions docs/get-started/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,29 +101,6 @@ module.exports = {
💡 Read more about [Tailwind Presets](https://tailwindcss.com/docs/presets).
:::

#### Tailwind Forms

::: warning
If you use Tailwind forms, please consider modifying your `tailwind.config.js` to use the strategy `class` as follows:
:::

```javascript
module.exports = {
//...
plugins: [
require("@tailwindcss/forms")({
strategy: 'class',
}),
]
}
```

This approach will avoid layout conflicts such as:

![Output](/_media/conflict_tailwindforms.png)

> 💡 Read more about [Using classes instead of element selectors](https://github.com/tailwindlabs/tailwindcss-forms#using-classes-instead-of-element-selectors).
## Filters

PowerGrid offers inline and outside filters.
Expand Down

0 comments on commit b1a9376

Please sign in to comment.