Skip to content

Commit

Permalink
hotfix: Remove Tailwind forms global styles
Browse files Browse the repository at this point in the history
also fix the breakpoints some more
  • Loading branch information
thecristen committed Oct 4, 2024
1 parent 81301e9 commit eb42f71
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions assets/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,20 @@ module.exports = {
...fontFamily
},
// match screens to Bootstrap's breakpoints for now
// matched from $container-max-widths
screens: {
xs: { max: "544px" },
sm: { max: "800px" },
md: { max: "1088px" },
lg: { max: "1344px" }
sm: "544px",
md: "768px",
lg: "960px",
xl: "1200px"
}
},
plugins: [
...plugins,
require("@tailwindcss/forms"),
require("@tailwindcss/forms")({
// don't make global styles since they conflict with ours
strategy: "class"
}),
// Allows prefixing tailwind classes with LiveView classes to add rules
// only when LiveView classes are applied, for example:
//
Expand Down

0 comments on commit eb42f71

Please sign in to comment.