Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Direction Nav classes should be easier to target #170

Closed

Description

I think the classes for the direction nav should be moved from the anchor links to the list item elements. This would make targeting Previous and Next elements much easier.

Before:

<ul class="flex-direction-nav">
    <li><a href="#" class="prev">Previous</a></li>
    <li><a href="#" class="next">Next</a></li>
</ul>

After:

<ul class="flex-direction-nav">
    <li class="prev"><a href="#">Previous</a></li>
    <li class="next"><a href="#">Next</a></li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions