flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

tailwind+flowbite: max-w uses --spacing instead --container

Open seanhakbb opened this issue 9 months ago • 0 comments

Describe the bug When using @import "flowbite"; in my tailwind 4 demo project i get inconsistent variable use. max-w-2xl uses --spacing-2xl instead of --container-2xl tailwind discussion

To Reproduce Steps to reproduce the behavior:

    "@tailwindcss/cli": "^4.0.6",
    "flowbite": "^3.1.2",
    "tailwindcss": "^4.0.6",
    "flowbite-typography": "^1.0.5"

styles.css

@import "tailwindcss";
@import "flowbite";

remove @import "flowbite" and max-w-2xl will revert to using --container-2xl

seanhakbb avatar Feb 12 '25 13:02 seanhakbb