metafizzy / metafizzy/flickity

Wrong css class for styling page dots in docs

Open
#1,224 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.6k
Forks
593
PR merge metrics
No merged PRs in 30d

Description

flickity v2.2

`.dot` is stated in docs but code uses `.flickity-page-dot`.

https://flickity.metafizzy.co/style.html#page-dots

```css
/* position dots in carousel */
.flickity-page-dots {
bottom: 0px;
}
/* white circles */
.flickity-page-dots .dot {
width: 12px;
height: 12px;
opacity: 1;
background: transparent;
border: 2px solid white;
}
/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
background: white;
}
```

Contributor guide

Open the contributing guide

Research direction

Start at the page-dots section of style.html, linked in the issue, and compare the documented selector with the class used by the code. Update the incorrect `.dot` reference so the documentation matches the actual page-dot styling selectors, then verify the rendered documentation shows the corrected example.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.