Skip to content

Commit 4ec77ab

Browse files
authored
Update height of scrollable small in getFrontsAdPositions.ts (#13815)
The scrollable small has been redesigned. The container is now twice the height, the same as scrollable medium. As such, the height of scrollable small has been moved from 0.5 to 1.
1 parent 0af87b5 commit 4ec77ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotcom-rendering/src/lib/getFrontsAdPositions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ const getCollectionHeight = (
185185
// Some thrashers are very small. Since we'd prefer to have ads above content rather than thrashers,
186186
// err on the side of inserting fewer ads, by setting the number on the small side for thrashers
187187
case 'fixed/thrasher':
188-
case 'scrollable/small':
189188
return 0.5;
190189

191190
case 'fixed/small/slow-IV':
192191
case 'fixed/small/slow-V-mpu':
193192
case 'nav/list':
194193
case 'nav/media-list':
194+
case 'scrollable/small':
195195
case 'scrollable/medium':
196196
case 'static/medium/4':
197197
return 1;

0 commit comments

Comments
 (0)