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

Footer not at bottom when post is short #502

Open
bertday opened this issue Jan 31, 2022 · 5 comments
Open

Footer not at bottom when post is short #502

bertday opened this issue Jan 31, 2022 · 5 comments
Milestone

Comments

@bertday
Copy link

bertday commented Jan 31, 2022

Hello,

Thank you for this lovely theme! I noticed one issue I wanted to surface here. When a post is very short (for example, just a sentence or two), the footer isn't at the bottom. Here is a screenshot of what I'm seeing:

image

I think this may be the same issue as #370, which appears to have been closed.

@regisphilibert regisphilibert added this to the 3.0 milestone Feb 2, 2022
@Altonss
Copy link

Altonss commented Aug 19, 2022

This trick resolved the issue:

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer{
  margin-top: auto;
}

@t-kimber
Copy link

Hi @Altonss,
Thanks for your code snippet! Would you mind giving some details about where/in which file this code should be?

@Altonss
Copy link

Altonss commented Sep 16, 2022

Hi @Altonss, Thanks for your code snippet! Would you mind giving some details about where/in which file this code should be?

I added this in a custom.css file! I didn't know how if it is possible to modify the tachyon css syntax in the html templates to match this, so I was not able to propose this change in a PR :)
I would be happy to read a solution if anyone has an idea!

@t-kimber
Copy link

I added this in a custom.css file! I didn't know how if it is possible to modify the tachyon css syntax in the html templates to match this, so I was not able to propose this change in a PR :) I would be happy to read a solution if anyone has an idea!

Wonderful, thanks for your help @Altonss !

@Juanpam
Copy link

Juanpam commented Sep 26, 2023

@Altonss I don't want to steal that snippet and make a PR. You should get the credit for that one!

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

5 participants