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

7 stars 2 forks source link

Side bar spacing different in downloaded pro version #23

Closed p-clark closed 6 years ago

p-clark commented 6 years ago

Hi, I noticed a difference between the pro version that is demonstrated on your website and the downloaded pro version. I am not certain how to get them in sync, however.

At this location: https://demos.creative-tim.com/light-bootstrap-dashboard-pro-angular2/dashboard

The side bar color is flush to the main content, seen here:

image

However, with the downloaded pro version (unmodified v1.2.1), the side bar is not flush, seen here:

image

How can I address the mismatched downloaded version of the pro product?

Thank you!

p-clark commented 6 years ago

I have worked with the _sidebar-and-main-panel.scss and come up with a solution that works, but may not be optimal. But first, the reason this might not have been seen on all systems is because I turned on Always show scroll bars on MacOS:

image

I have found that if I adjust the following lines in the _sidebar-and-main-panel.scss, it appears to work in a similar manner to the https://demos.creative-tim.com/light-bootstrap-dashboard-pro-angular2/dashboard

I adjusted the following:

11,12c11
<     overflow-x: hidden;
<     overflow-y: scroll;
---
>     overflow: auto;
31c30
<         height: calc(100% - 75px);
---
>         height: calc(100% - 64px);
444a444
>             overflow: hidden;
489a490
>                 overflow-y: auto;

This seems to work on MacOS, but if anyone has better ideas on how to address, please let me know.

Thanks!