Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor zigzag layout with CSS #60

Open
pokornyd opened this issue Nov 21, 2023 · 0 comments
Open

Refactor zigzag layout with CSS #60

pokornyd opened this issue Nov 21, 2023 · 0 comments

Comments

@pokornyd
Copy link
Member

Motivation

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.

@pokornyd pokornyd mentioned this issue Nov 21, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant