gohugo-theme-ananke
gohugo-theme-ananke copied to clipboard
Footer not at bottom when post is short
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:
I think this may be the same issue as #370, which appears to have been closed.
This trick resolved the issue:
body{
min-height: 100vh;
display: flex;
flex-direction: column;
}
footer{
margin-top: auto;
}
Hi @Altonss, Thanks for your code snippet! Would you mind giving some details about where/in which file this code should be?
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!
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 !
@Altonss I don't want to steal that snippet and make a PR. You should get the credit for that one!