You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vertical variation of the Slider(nouislider) plugin should look the same as the horizontal one.
What is actually happening?
The styles do not match the ones from the horizontal one.
Solution
Go inside src/assets/scss/black-dashboard-pro-react/react/plugins folder and create a new file named _plugin-nouislider.scss (so the path of the new file will be src/assets/scss/black-dashboard-pro-react/react/plugins/_plugin-nouislider.scss).
Go inside src/assets/scss/black-dashboard-pro-react/react/_react-differences.scss file.
Between line 3 and line 4, add the following code:
@import "plugins/plugin-nouislider";
Now the vertical styles work as those from the horizontal ones.
Additional comments
NOTE: The vertical slider needs to be wrapped inside an element with a fixed height, that is why, in my example, I've wrapped it inside a div element with a style of height set to 300px. Feel free to change the height.
The text was updated successfully, but these errors were encountered:
Version
1.1.0 (latest)
Reproduction link
https://demos.creative-tim.com/black-dashboard-pro-react/#/admin/extended-forms
Operating System
Does not matter
Device
Does not matter
Browser & Version
Does not matter
Steps to reproduce
src/views/forms/ExtendedForms.js
and replace everything with:What is expected?
The vertical variation of the Slider(nouislider) plugin should look the same as the horizontal one.
What is actually happening?
The styles do not match the ones from the horizontal one.
Solution
src/assets/scss/black-dashboard-pro-react/react/plugins
folder and create a new file named_plugin-nouislider.scss
(so the path of the new file will besrc/assets/scss/black-dashboard-pro-react/react/plugins/_plugin-nouislider.scss
).src/assets/scss/black-dashboard-pro-react/react/_react-differences.scss
file.Additional comments
NOTE: The vertical slider needs to be wrapped inside an element with a fixed height, that is why, in my example, I've wrapped it inside a
div
element with a style of height set to300px
. Feel free to change the height.The text was updated successfully, but these errors were encountered: