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

Fixed header requires manual content padding top #215

Open
zemian opened this issue Sep 6, 2023 · 1 comment
Open

Fixed header requires manual content padding top #215

zemian opened this issue Sep 6, 2023 · 1 comment
Labels

Comments

@zemian
Copy link

zemian commented Sep 6, 2023

When we want a fixed header, we usually expect the content goes right under, but with Cirrus, we have to manually pad the top content to offset the header height. I think in this use case, should the position be simply "static" is more useful? This way users do not have to pad their content.

@Spiderpig86
Copy link
Owner

I don't think static would fulfill what a fixed header does. A fixed header should be anchored to some position of the browser window, like the top. static is the default positioning for any div and does not anchor the header menu to any part of the browser window at all.

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

No branches or pull requests

2 participants