bug: mb-*
override by timeline-compact
when used with timeline-start
but not timeline-end
#3224
Labels
mb-*
override by timeline-compact
when used with timeline-start
but not timeline-end
#3224
What version of daisyUI are you using?
v4.12.10
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
https://play.tailwindcss.com/90vptzttvW
Describe your issue
I notice that when a timeline is built with
timeline-compact
class,mb-10
or any bottom margin class is overriden in items withtimeline-start
class, but not those withtimeline-end
class, making the separation between items inconsistency.This behaviour is observable in DaisyUI own example when it switch to a compact timeline: https://daisyui.com/components/timeline/#timeline-with-icon-snapped-to-the-start
My own React module built based on the example code also have the same issue, it could be workaround by marking
mb-*
class as important (e.g.!mb-10
)The text was updated successfully, but these errors were encountered: