From 0759ffd6e6fc6f1d9524281031a617b758287aba Mon Sep 17 00:00:00 2001 From: Jon Mulhern <81927768+curlyfriesplease@users.noreply.github.com> Date: Wed, 10 Jun 2026 13:12:22 +0100 Subject: [PATCH 1/2] Removes useless CSS that was causing a layout shift --- .../Molecules/Accordion/Accordion.js | 3 --- .../Molecules/Accordion/Accordion.md | 25 ++++++++++++++++--- .../__snapshots__/Accordion.test.js.snap | 6 ----- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/components/Molecules/Accordion/Accordion.js b/src/components/Molecules/Accordion/Accordion.js index a2f89bbee..c59ff1a0d 100644 --- a/src/components/Molecules/Accordion/Accordion.js +++ b/src/components/Molecules/Accordion/Accordion.js @@ -66,9 +66,6 @@ const Copy = styled.div` visibility: none; transition: all 0.2s cubic-bezier(0, 0, 0.25, 0.82); padding: 0 ${spacing('l')}; - @media ${({ theme }) => theme.allBreakpoints('M')} { - padding: 0 ${spacing('lg')}; - } ${({ isOpen, contentBottomPadding }) => (isOpen && css` height: auto; diff --git a/src/components/Molecules/Accordion/Accordion.md b/src/components/Molecules/Accordion/Accordion.md index a73f4cef0..bab53a9fa 100644 --- a/src/components/Molecules/Accordion/Accordion.md +++ b/src/components/Molecules/Accordion/Accordion.md @@ -36,16 +36,33 @@ import Text from '../../Atoms/Text/Text'; ```js import Text from '../../Atoms/Text/Text'; - +
- I am a title with an overridden text type and weight, to 'p' 700 which is the new donate preference + I am a title with an overridden text type and weight, to 'p' 700 which is the new donate preference, and in a width simulating our real world use on desktop (NB because width is fixed, this is only to demonstrate desktop mode, don't use for examining mobile view) } > - - lorem ipsum + + A STAR template answer is a structured way of responding to behavioural interview questions. Here's what it stands for: +
+
+ S - Situation: Begin by setting the scene. Describe the context or situation you were in. +
+
+ T - Task: Next, explain the task or challenge you were faced with. What needed to be accomplished? +
+
+ A - Action: Then, detail the actions you took to address the situation or task. What specific steps did you take, and why? +
+
+ R - Result: Finally, discuss the results or outcomes of your actions. What happened as a result of your efforts? Try to quantify the impact if possible. +
+
+ Using the STAR template helps you provide a clear and concise response that highlights your abilities and experiences effectively. It guides you through structuring your answer in a way that makes it easy for the interviewer to understand and evaluate your skills and competencies. +
+
``` diff --git a/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap b/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap index cf95463b4..3d213116e 100644 --- a/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +++ b/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap @@ -186,12 +186,6 @@ exports[`renders correctly 1`] = ` } } -@media (min-width:740px) { - .c8 { - padding: 0 3rem; - } -} -
From 7039d0fd3e28d603c72173286918966d0f6f9a89 Mon Sep 17 00:00:00 2001 From: Jon Mulhern <81927768+curlyfriesplease@users.noreply.github.com> Date: Wed, 10 Jun 2026 13:44:29 +0100 Subject: [PATCH 2/2] fix: Empty commit to please GA actions