Skip to content

Commit bfb066d

Browse files
Stop applying legacy class to article element
1 parent f6cb1c0 commit bfb066d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dotcom-rendering/src/lib/ArticleRenderer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { ArticleDesign, type ArticleFormat } from './articleFormat';
1010
import type { EditionId } from './edition';
1111
import { RenderArticleElement } from './renderElement';
1212
import { withSignInGateSlot } from './withSignInGateSlot';
13-
import { interactiveLayoutSwitchoverDate } from '../layouts/DecideLayout';
1413

1514
// This is required for spacefinder to work!
1615
const commercialPosition = css`
@@ -126,7 +125,7 @@ export const ArticleRenderer = ({
126125
// Note, this class MUST be on the *direct parent* of the
127126
// elements for some legacy interactive styling to work.
128127
format.design === ArticleDesign.Interactive &&
129-
interactiveLayoutSwitchoverDate > new Date()
128+
!isShinyNewInteractiveLayout
130129
? interactiveLegacyClasses.contentMainColumn
131130
: '',
132131
].join(' ')}

0 commit comments

Comments
 (0)