Closed ashleytowner closed 6 months ago
I'd like a technical review from @techieshark, but I don't want to merge this before @karabishopgreenpeace has agreed that this is the behaviour we want.
@ashleytowner hold off on this. The solution needs to have a general padding on all pages so the content is visible. Then a negative margin on specific pages that need to overlap. At the moment there is a .footer-cta class added to these specific blocks. Sorry, I don't have time at the moment to work on this, so for the time being, I think we just leave it as is.
Closed, as it didn't meet the requirements
Pull Request Overview
This adds a negative margin to the top of the footer, so that it overlaps with content, as required in this ticket
There's a slightly different negative margin for a couple of different screen sizes, these are the minimum numbers I found were necessary.
๐ท Screenshots
Of course, this also results in the situation where if there's text at the bottom of a page, then the footer will still overlap it, there's not really an automatic way to distinguish between whether the element beforehand contains something we do or don't want overlapped. Content creators will have to be aware of this when laying out their content, and ensure that they put an image or some content that can be overlapped at the bottom of the page.
๐คจ Any Issues or Questions?
@karabishopgreenpeace do we still want to go ahead with this given it can overlap real content?
๐ PR Checklist
Reviewer checklist:
Contributor checklist:
[Unreleased]
). Include link to this PR.*.test.js
) and/or Cypress Tests.yarn test:watch
, press 'a' for "all tests", and "u" to update snaps if needed.yarn test
andyarn flow
) and clean up any errors ๐