You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implementation of zigzag layout relies upon passing an incrementing index of a fact/stack component, combined with modulo to style even and odd components respectively. This is rather cumbersome and could be potentially rewritten using tailwind built-in modifiers of the same name.
Proposed solution
Rewrite zigzag layout using tailwind functionality, rather than passing down numeric prop.
Additional context
Add any other context, screenshots, or reference links about the feature request here.
The text was updated successfully, but these errors were encountered:
Motivation
Current implementation of zigzag layout relies upon passing an incrementing index of a fact/stack component, combined with modulo to style
even
andodd
components respectively. This is rather cumbersome and could be potentially rewritten using tailwind built-in modifiers of the same name.Proposed solution
Rewrite zigzag layout using tailwind functionality, rather than passing down numeric prop.
Additional context
Add any other context, screenshots, or reference links about the feature request here.
The text was updated successfully, but these errors were encountered: