Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrf1 committed Oct 18, 2024
1 parent 3c950f0 commit 387c66e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
20 changes: 1 addition & 19 deletions dotcom-rendering/src/components/UsEoy2024Wrapper.importable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ const styles = {
container: css`
background: #051d32;
color: #ffffff;
display: flex;
justify-content: space-between;
overflow: hidden;
${from.desktop} {
padding-right: 40px;
}
`,
grid: css`
display: grid;
Expand All @@ -43,10 +36,6 @@ const styles = {
${from.tablet} {
display: grid;
grid-template-columns: 350px 350px;
grid-template-rows: auto 1fr auto;
width: 100%;
max-width: 1300px;
margin: 0 auto;
padding: 0 ${space[5]}px 30px ${space[5]}px;
}
${from.desktop} {
Expand All @@ -71,8 +60,6 @@ const styles = {
}
`,
heading: css`
order: 2;
${from.tablet} {
grid-column: 1;
grid-row: 1;
Expand All @@ -96,11 +83,6 @@ const styles = {
}
`,
body: css`
order: 2;
${from.tablet} {
grid-column: 1;
grid-row: 2 / span 2;
}
${textEgyptian17};
strong {
${textEgyptianBold17};
Expand All @@ -110,7 +92,6 @@ const styles = {
margin-bottom: ${space[4]}px;
`,
choiceCards: css`
order: 3;
margin-top: ${space[6]}px;
${from.tablet} {
grid-column: 2;
Expand Down Expand Up @@ -183,6 +164,7 @@ const choiceCardSettings: ChoiceCardSettings = {
buttonSelectBorderColour: '#0077B6',
};
const cta = {
// TODO - tracking
ctaUrl: 'https://support.theguardian.com/contribute',
ctaText: 'Support us',
};
Expand Down
7 changes: 1 addition & 6 deletions dotcom-rendering/src/layouts/FrontLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,17 +319,12 @@ export const FrontLayout = ({ front, NAV }: Props) => {
<Section
fullWidth={true}
padBottom={true}
showSideBorders={
collection.collectionType !==
'fixed/video'
}
showSideBorders={false}
padSides={false}
showTopBorder={false}
ophanComponentLink={ophanComponentLink}
ophanComponentName={ophanName}
containerName={'fixed/medium/slow-VII'}
hasPageSkin={hasPageSkin}
// shouldCenter={false}
>
<Island
priority="feature"
Expand Down

0 comments on commit 387c66e

Please sign in to comment.