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

7 stars 2 forks source link

Ugly scrollbar at the sidebar #17

Open AndreasHohnholt opened 6 years ago

AndreasHohnholt commented 6 years ago

at the right side of the sidebar is a ugly scrollbar, so that there is a big gap between the sidebar and the navbar. the non angular version has not this issue.

Angular version: https://lbd-pro-angular2.creative-tim.com/dashboard Non Angular vesion: https://demos.creative-tim.com/light-bootstrap-dashboard-pro/examples/dashboard.html

chelaruc commented 6 years ago

@AndreasHohnholt Can you tell me what OS do you use and what browser?

AndreasHohnholt commented 6 years ago

The problem occur in all major browser:

Screenshot

gusjabar commented 6 years ago

I have the same problem, I guess it's something related with the library perfect-scrollbar.js.

AndreasHohnholt commented 6 years ago

on my samsung galaxy tab s3 the error does not occur, no matter which browser is used. if i emulate an "ipad pro" in the chrome browser the error does not occur either.

chelaruc commented 6 years ago

Hi @AndreasHohnholt! Can you delete the line 20 from src/index.html and in src/assets/sass/lbd/_sidebar-and-main-panel.scss delete line 12: overflow-y: scroll;

Tell me if this worked.

AndreasHohnholt commented 6 years ago

@chelaruc Yes this fix the problem but there is now a small unattractive corner at the end of the sidebar https://ibb.co/ksYjs7

chelaruc commented 6 years ago

@AndreasHohnholt in src/assets/sass/lbd/_sidebar-and-main-panel.scss, on class .sidebar-wrapper you need to change the height from height: calc(100% - 75px); to height: calc(100% - 64px);

AndreasHohnholt commented 6 years ago

Will this issue fixed in the next release of light-bootstrap-dashboard-pro-angular?

chelaruc commented 6 years ago

@AndreasHohnholt yes, we will fix this in next update. I'll reopen this issue and close when the update will be released.