Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Header is not displayed correctly in Chrome with MAC #405

Open
xevimaresma opened this issue May 14, 2022 · 4 comments
Open

[Bug] Header is not displayed correctly in Chrome with MAC #405

xevimaresma opened this issue May 14, 2022 · 4 comments

Comments

@xevimaresma
Copy link

Version

2.7.0

Reproduction link

https://demos.creative-tim.com/material-dashboard-pro-angular2/#/dashboard

Operating System

MacOS Catalina 10.15.17

Device

Mac

Browser & Version

Chrome 101.0.4951.64 (Build oficial) (x86_64)

Steps to reproduce

Enter the website https://demos.creative-tim.com/material-dashboard-pro-angular2/#/dashboard with Chrome on a MacOS and you will show the header and buttons with a lot of padding from the top

What is expected?

Showing the header at the top

What is actually happening?

It's a lot of padding from the top


Solution

Correct SCSS

Additional comments

@xevimaresma
Copy link
Author

I attatch an image to show the issue:

image

@Patson-la
Copy link

Hello,
I have the same issue with my project (use creative tim) .
the bug don't appear on Firefox.

@rarestoma
Copy link
Contributor

Hi @xevimaresma, @Patson-la,

Thank you for working with our products.

To fix this issue, please change the CSS and add top: 0; to the .navbar.navbar-absolute:

.navbar.navbar-absolute{
  top: 0;
}

Please let me know if it works.

Thank you,
Rares

@Patson-la
Copy link

Hi @xevimaresma, @Patson-la,

Thank you for working with our products.

To fix this issue, please change the CSS and add top: 0; to the .navbar.navbar-absolute:

.navbar.navbar-absolute{
  top: 0;
}

Please let me know if it works.

Thank you, Rares

yes I add TOP:0; in "&.navbar-absolute" in src/styles/scss/core/_navbar.scss and it's Good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants