From 638cf348dc4a73668a1f708fbbd3fdae7911cdb7 Mon Sep 17 00:00:00 2001 From: daniele-mng Date: Mon, 9 Sep 2024 09:55:48 +0200 Subject: [PATCH] fix: footer at bottom of the page (#4153) --- .../__tests__/__snapshots__/footer.jsx.snap | 39 ------------------- .../components/structure/__tests__/footer.jsx | 1 - src/web/components/structure/footer.jsx | 9 +---- src/web/pages/page.jsx | 22 +++++++---- 4 files changed, 15 insertions(+), 56 deletions(-) delete mode 100644 src/web/components/structure/__tests__/__snapshots__/footer.jsx.snap diff --git a/src/web/components/structure/__tests__/__snapshots__/footer.jsx.snap b/src/web/components/structure/__tests__/__snapshots__/footer.jsx.snap deleted file mode 100644 index 635b9b28f7..0000000000 --- a/src/web/components/structure/__tests__/__snapshots__/footer.jsx.snap +++ /dev/null @@ -1,39 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`Footer tests > should render footer with copyright 1`] = ` -.c1 { - color: #7F7F7F; -} - -.c1:link { - color: #7F7F7F; -} - -.c0 { - position: fixed; - bottom: 0; - right: 0; - left: 0; - padding: 2px; - font-size: 10px; - text-align: right; - color: #7F7F7F; - margin-top: 10px; - padding-right: 5px; - z-index: 500; -} - - -`; diff --git a/src/web/components/structure/__tests__/footer.jsx b/src/web/components/structure/__tests__/footer.jsx index 069fbb8eb5..fde4058b24 100644 --- a/src/web/components/structure/__tests__/footer.jsx +++ b/src/web/components/structure/__tests__/footer.jsx @@ -16,7 +16,6 @@ describe('Footer tests', () => { const currentYear = date().year(); const {element} = render(