Skip to content

Refactor zigzag layout with CSS #60

@pokornyd

Description

@pokornyd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions