React-slick: Dots enforcing `display: block`

Created on 8 Nov 2017  路  2Comments  路  Source: akiran/react-slick

Hello, I'm having an issue while styling the Dots component.

Inside src/dots.js:55, you're inlining a display: block in the dots collection.
There's absolutely no way to disable this behaviour from outside, so trying to use, for example, a display: flex from css is useless, since inline styles always gets precedence.

One could work around this by using !important in her styles, but this isn't a good practice at all.

Most helpful comment

Can you change the DOM position of the dots? E.g. before the slides?

All 2 comments

Another prop called appendDots has been added, and I think that's what you are looking for.

Can you change the DOM position of the dots? E.g. before the slides?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jfamousket picture jfamousket  路  3Comments

ramyatrouny picture ramyatrouny  路  3Comments

adamthewan picture adamthewan  路  4Comments

slashwhatever picture slashwhatever  路  3Comments

will88 picture will88  路  3Comments