Open dloused opened 3 years ago
@dloused have you tried doing this by just adding classes that cancel the default ones out?
Yes i tried that, for eg. i want the toast at the bottom. By adding sm:justify-start, the class output is "sm:justify-end sm:justify-start", with the 1st taking precedence
@dloused I thought css classes later in the order took precedence?
https://github.com/tailwindlabs/tailwindcss/issues/1010#issuecomment-508988518
Maybe object positioning should not be hardcoded and passed in the module defaults? A thought...
@dloused I see your point, well maybe we can do an override:
that you can use instead and start with a clean slate?
That would be a good option.!
@dloused i added to my open source TODO, feel free to send a PR if you want it sooner!
As per example, container classes only extend the default class? Is it possible to override the defaults ('z-40', 'fixed', 'inset-0', 'flex', 'flex-col-reverse', 'items-end', 'justify-center', 'px-4', 'py-6', 'pointer-events-none', 'sm:p-6', 'sm:items-end', 'sm:justify-end') in the module params?