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] navbar fixed-top does not readjust horizontally on sidebar collapse #361

Open
Salahudeen opened this issue Apr 7, 2020 · 2 comments

Comments

@Salahudeen
Copy link

Capture

Version

material-dashboard-pro-angular-v2.4.1

Reproduction link

http://na

Operating System

Win10

Device

iMac using bootcamp

Browser & Version

Chrome Version 81.0.4044.92 (Official Build) (64-bit)

Steps to reproduce

Navigate to navbar.component.html add fixed-top to class list. Final class list as shown below:

class="navbar fixed-top navbar-expand-lg navbar-transparent navbar-absolute"

What is expected?

Navbar to be fixed on top
On side bar collapse, Navbar should be resposive

What is actually happening?

Navbar is fixed on top
But, on side bar collapse, Navbar is hanging frozen and does not resize horizontally.


Solution

Additional comments

@JoseRFJuniorLLMs
Copy link

bug

@rarestoma
Copy link
Contributor

Hi @Salahudeen,

Thank you for working with our products and sorry for the late response.

Please add this CSS style for the fixed-top navbar:

.sidebar-mini .navbar.fixed-top {
width: calc(100% - 80px);
}

Please let me know if it works.

Thank you,
Rares

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