creativetimofficial / ct-material-dashboard-pro

Material Dashboard Pro - Premium Bootstrap 5 Admin
https://demos.creative-tim.com/material-dashboard-pro/pages/dashboards/analytics
116 stars 28 forks source link

CSS bug on mini sidebar #257

Closed doqimi closed 4 years ago

doqimi commented 4 years ago

It looks like an horizontal scrollbar is shown in Chrome if you use the mini sidebar, is there a patch or fix available?

Issue is present on your hosted demo page as well.

Screenshot

groovemen commented 4 years ago

Hello @doqimi,

Thank you for your interest in working with our products. Please add a new comment here, or open a new issue, by filling the mentioned ISSUE_TEMPLATE and please be sure that your issue title is a very small description of your issue as well. Also, please let us know about your OS and browser version.

All the best, Stefan

doqimi commented 4 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

When minimized I shouldn't see an horizontal scrollbar at the bottom of the sidebar.

Current Behavior

What is the current behavior?

When using the mimized sidebar it shows a vertical scrollbar at the bottom the of the sidebar.

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Go to https://demos.creative-tim.com/material-dashboard-pro/examples/dashboard.html
  2. Click on the Cog at the right side of the screen
  3. Enable sidebar mini
  4. Look at the bottom of the mini sidebar you'll now see a vertical scrollbar

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

N/A

groovemen commented 4 years ago

Hello again @doqimi,

We have tested this page on Windows 10 on Chrome and Microsoft Edge and it looks good.

MDPro

Please check if you have errors in the console. It should look good because you can find the perfectScrollbar plugin in the product.

Waiting for your answer. Best, Stefan

doqimi commented 4 years ago

See attached, the issue persists in multiple browsers. (big red arrow pointing down)

2019-11-23 08_20_02- 2019-11-23 08_20_22-Window

DavidKettler commented 4 years ago

It looks like the overflow is set to auto. These two solutions got rid of the scroll bar for me. .sidebar-wrapper { overflow: hidden !important; } or .sidebar-wrapper::-webkit-scrollbar { display: none; }

immesys commented 4 years ago

Confirming this issue is still present

groovemen commented 4 years ago

Hello @immesys,

Thank you for using our products, for now, the solution of @DavidKettler is a quick and good one. Please set the property from above and it will work. We will also solve into the next update this issue. Sorry for this inconvenience.

All the best, Stefan