creativetimofficial / ct-nextjs-material-dashboard-pro

NextJS version of Material Dashboard PRO
https://demos.creative-tim.com/nextjs-material-dashboard-pro/admin/dashboard
16 stars 7 forks source link

[Bug] Text alignment bug in dashboard menu at reduced screen sizes #11

Closed kasterbrandon closed 2 years ago

kasterbrandon commented 3 years ago

Version

1.1.0

Operating System

Windows 10 Pro & Mac OS

Device

PC & Mac

Browser & Version

Chrome & Safari

Steps to reproduce

  1. Download version 1.1.0 of the NextJS Material Dashboard Pro
  2. run 'npm install'
  3. run 'npm run dev'
  4. In your browser, navigate to 'http://localhost:3000/admin/dashboard'
  5. In your browser, reduce your browser's window size to less than 950 pixels wide.
  6. Click on the menu icon and the menu will open from the ride side of the screen.
  7. Text alignment bug occurs in displaying the "Dashboard", "Notification", and "Profile", menu items.

    What is expected?

    The alignment of the menu item text to be consistent with the left alignment of other menu items.

    What is actually happening?

    The menu item text is on the far left pixel of the menu's edge.


Solution

Additional comments

einazare commented 3 years ago

Hello there, @kasterbrandon ,

Thank you for your interest in working with our products, and for sharing with us this issue. To solve it, please do the following:

Best, Manu

kasterbrandon commented 3 years ago

Hi Manu,

Thanks again for your help. Unfortunately, the changes you suggest results in collateral damage in the midsized viewport. Specifically, when reducing your browser window size to less than 1280 px causes the menu items to remain on the screen in poorly placed locations.

image

einazare commented 3 years ago

Hello there, @kasterbrandon ,

Please change [theme.breakpoints.down("md")]: { with [theme.breakpoints.down("sm")]: {. That will do the trick.

Best, Manu

kasterbrandon commented 3 years ago

The bug is resolved with the changes you recommended. Thank you Manu!

sajadevo commented 2 years ago

Hi there

We've updated the product to v2 and now it has a totally new and fresh design with a reusable, flexible and scalable base structure and all of the issues are fixed on the new update of the product.

Note: To get the latest updates and supports for the products and other related things to Creative Tim please join our Discord Community.

All the best, Sajad
 React Developer @ Creative-Tim.com