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] Fixed footer + Content Fill #397

Open
No1e opened this issue Oct 28, 2021 · 1 comment
Open

[Bug] Fixed footer + Content Fill #397

No1e opened this issue Oct 28, 2021 · 1 comment

Comments

@No1e
Copy link

No1e commented Oct 28, 2021

Version

2.6.0

Reproduction link

https://github.com/creativetimofficial/ct-material-dashboard-pro.

Operating System

Windows 10

Device

any

Browser & Version

Chrome, EDGE

Steps to reproduce

Dear Creative Tim Support,

could you please tell me how can do the following:

  1. Fix the footer to the bottom
  2. Make the "main-content" to take remaining space between header and footer

I was not able to find example.

Thank you and best regards,
Novak

What is expected?

Footer fixed at bottom, "main-content" should take space between header and footer.

What is actually happening?

Footer not fixed, "main-content" takes as much as space as it needs.


Solution

Additional comments

@rarestoma
Copy link
Contributor

Hi @No1e,

Thank you for working with our products.

Did you try leaving the main-content empty? Because the main-content has a min-height set of calc(100vh - 123px) and this will cause the footer to stay at the bottom.

I attached an image to show how it looks.

Captură de ecran din 2021-11-02 la 10 54 18 a m

Best regards,
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

2 participants