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 text nav has incorrect top margin #308
Comments
Right col should not have the top padding. |
Got it! Will fix when I get a spare moment. |
It has not, AFAIK. It was an issue as of yesterday or the day before. Add another page record in the rails console |
I did a bunch of tests with @SMaxOwok and discovered what I believe is the root of the issue. If you take a look at the DOM in your example above, there will likely be an empty I was able to reproduce this repeatedly by creating a new page in the console without a nav_title: show_in_footer and nav_title are nil on the page. This won’t break the layout the first time, but if you add two pages this way (with unique names and slugs), you should see this bug.We can of course address this bug in the view by hiding pages without |
Ahh.. ideally, nav_title would be optional and title would be required. We'd show nav_title if set, and fallback to title if it's not set. |
Thanks for digging into this one! |
[Fixes #308] Also adds conditional fallback to title for page links without a `nav_title`
[Fixes #308] Also adds conditional fallback to title for page links without a `nav_title`
This fix is present in the PR according to Naomi. It's lacking any tests, however, and I've asked @SMaxOwok to add them. Accordingly, I'm re-assigning this issue to Max. |
Test added |
[Fixes #308] Also adds conditional fallback to title for page links without a `nav_title`
The text was updated successfully, but these errors were encountered: