creativetimofficial / ct-light-bootstrap-dashboard-pro-angular

7 stars 2 forks source link

[Feature Request] Make perfectScrollbar visible #33

Closed Saifer707 closed 4 years ago

Saifer707 commented 4 years ago

What is your enhancement?

Hi, is it possible make perfectScrollbar always visible?

I try to set opacity to 0.6 in .ps-container .ps-scrollbar-y-rail css code but there's no effect.

Thank you!

chelaruc commented 4 years ago

Hi, @Saifer707. Thank you for using our product. Where have you added the css code?

Saifer707 commented 4 years ago

Hi, @chelaruc! Thanks for the reply! I put the css code in documentation/css/documentation.css, but I tried also to put it into index.html by using <style></style> tags and it's not working anyway.

Saifer707 commented 4 years ago

@chelaruc can you help me?

chelaruc commented 4 years ago

Hi, @Saifer707. Sorry for the late response. Can you add the css code in src/assets/css/demo.css?

Saifer707 commented 4 years ago

Hello @chelaruc, don't worry, you're very kind!

I've tried your solution but it doesn't work. Any other suggestions?

chelaruc commented 4 years ago

Import this css code into one file from the sass folder:

.ps-container > .ps-scrollbar-x-rail,
   .ps-container > .ps-scrollbar-y-rail {
     display: block;
     min-height: 200px;
     opacity: 0.6;
   }