diff --git a/src/components/Sections/FullWidthSection.tsx b/src/components/Sections/FullWidthSection.tsx index 165a63e..c61e1ab 100644 --- a/src/components/Sections/FullWidthSection.tsx +++ b/src/components/Sections/FullWidthSection.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled from "styled-components"; const StyledSection = styled.section` - display: grid; + display: block; padding: 1.5rem; grid-template-columns: 1fr auto; diff --git a/src/views/EventPage/EventPageView.tsx b/src/views/EventPage/EventPageView.tsx index 79acbca..cfd45a0 100644 --- a/src/views/EventPage/EventPageView.tsx +++ b/src/views/EventPage/EventPageView.tsx @@ -99,13 +99,15 @@ const EventPageView: React.FC = ({ event }) => {

{/* We may have multiple signup forms. Generate own Button for each one */} - {event.signupForm.map((sf) => ( - - - - ))} + {event.signupForm + .sort((a, b) => (isFi ? a.title_fi.localeCompare(b.title_fi) : a.title_en.localeCompare(b.title_en))) + .map((sf) => ( + + + + ))} diff --git a/testcafe.json b/testcafe.json index f086c7a..e951fa2 100644 --- a/testcafe.json +++ b/testcafe.json @@ -3,7 +3,7 @@ "browsers": "all", "concurrency": 1, "screenshots": { - "path": "e2e-screenshots", + "path": "e2e-screenshots/", "takeOnFails": true }, "skipJsErrors": true,