-
Notifications
You must be signed in to change notification settings - Fork 18
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
Dots navigation to test #66
base: master
Are you sure you want to change the base?
Conversation
src/components/Carousel/Carousel.vue
Outdated
> | ||
<ol | ||
class="vs-carousel__dots" | ||
:aria-label="i18n.paginationNavigation"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated >
on the end of the line.
src/components/Carousel/Carousel.vue
Outdated
:key="index" | ||
:aria-current="index -1 === currentPage" | ||
@click="goToSlide(index - 1)" | ||
>⬤</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep HTML entity for this kind of bullets, otherwise it might bring some cross-browser errors.
.vs-carousel__dots { | ||
list-style: none; | ||
padding: 0; | ||
text-align: center; | ||
|
||
> li { | ||
display: inline-block; | ||
padding: .25em; | ||
cursor: pointer; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part should be move into ./dist/vue-snap.css
Attempt to move forward this: #31