44 from ,
55 space ,
66 textSans14 ,
7- textSans17 ,
87 until ,
98} from '@guardian/source/foundations' ;
109import { type EditionId , isNetworkFront } from '../lib/edition' ;
@@ -18,10 +17,8 @@ import type {
1817import type { TagPagePagination } from '../types/tagPage' ;
1918import { ContainerOverrides } from './ContainerOverrides' ;
2019import { ContainerTitle } from './ContainerTitle' ;
21- import { FrontPagination } from './FrontPagination' ;
2220import { FrontSectionTitle } from './FrontSectionTitle' ;
2321import { ShowHideButton } from './ShowHideButton' ;
24- import { Treats } from './Treats' ;
2522import { Footer } from './ExpandableAtom/Footer' ;
2623import { submitComponentEvent } from '../client/ophan/ophan' ;
2724
@@ -388,13 +385,13 @@ const sectionContentBorderFromLeftCol = css`
388385 }
389386` ;
390387
391- const sectionBottomContent = css `
392- grid- row: botto m- content;
393- grid- column: content;
394- .hidden > & {
395- dis play: none;
396- }
397- ` ;
388+ // const sectionBottomContent = css`
389+ // grid-row: bottom-content;
390+ // grid-column: content;
391+ // .hidden > & {
392+ // display: none;
393+ // }
394+ // `;
398395
399396const sectionTreats = css `
400397 /* Mobile: treats appear at the bottom */
@@ -440,25 +437,25 @@ const topBorder = css`
440437 bor der- to p- style: solid;
441438` ;
442439
443- const bottomPadding = css `
444- padding- botto m: ${ space [ 4 ] } px;
445- ` ;
440+ // const bottomPadding = css`
441+ // padding-bottom: ${space[4]}px;
442+ // `;
446443
447- const bottomPaddingBetaContainer = (
448- useLargeSpacingMobile : boolean ,
449- useLargeSpacingDesktop : boolean ,
450- ) => css `
451- ${ until . tablet } {
452- padding- botto m: ${ useLargeSpacingMobile
453- ? `${ space [ 8 ] } px`
454- : `${ space [ 4 ] } px` } ;
455- }
456- ${ from . tablet } {
457- padding- botto m: ${ useLargeSpacingDesktop
458- ? `${ space [ 8 ] } px`
459- : `${ space [ 4 ] } px` } ;
460- }
461- ` ;
444+ // const bottomPaddingBetaContainer = (
445+ // useLargeSpacingMobile: boolean,
446+ // useLargeSpacingDesktop: boolean,
447+ // ) => css`
448+ // ${until.tablet} {
449+ // padding-bottom: ${useLargeSpacingMobile
450+ // ? `${space[8]}px`
451+ // : `${space[4]}px` };
452+ // }
453+ // ${from.tablet} {
454+ // padding-bottom: ${useLargeSpacingDesktop
455+ // ? `${space[8]}px`
456+ // : `${space[4]}px` };
457+ // }
458+ // `;
462459
463460const primaryLevelTopBorder = (
464461 title ?: string ,
@@ -608,9 +605,9 @@ export const StorylineSection = ({
608605 const isBetaContainer = ! ! containerLevel ;
609606
610607 // These are for beta containers only
611- const useLargeSpacingMobile = ! ! isNextCollectionPrimary || isAboveMobileAd ;
612- const useLargeSpacingDesktop =
613- ! ! isNextCollectionPrimary || isAboveDesktopAd ;
608+ // const useLargeSpacingMobile = !!isNextCollectionPrimary || isAboveMobileAd;
609+ // const useLargeSpacingDesktop =
610+ // !!isNextCollectionPrimary || isAboveDesktopAd;
614611
615612 const showSectionColours = isNetworkFront ( pageId ?? '' ) ;
616613
0 commit comments