diff --git a/applications/app/views/fragments/gallerySlot.scala.html b/applications/app/views/fragments/gallerySlot.scala.html index 29653b20cd6..303803d2a41 100644 --- a/applications/app/views/fragments/gallerySlot.scala.html +++ b/applications/app/views/fragments/gallerySlot.scala.html @@ -12,6 +12,7 @@ Seq("gallery-inline", "dark") ++ (if(isMobile) Some("mobile") else None), Map(), optId = if(isMobile) Some(s"$slotName--mobile") else None, - optClassNames = if(isMobile) Some("mobile-only") else Some("hide-until-tablet") + optClassNames = if(isMobile) Some("mobile-only") else Some("hide-until-tablet"), + useFlexContainer = true ){ } } diff --git a/static/src/stylesheets/module/_adslot.scss b/static/src/stylesheets/module/_adslot.scss index 7332dc9c8b2..c60efbc948b 100644 --- a/static/src/stylesheets/module/_adslot.scss +++ b/static/src/stylesheets/module/_adslot.scss @@ -192,7 +192,7 @@ .ad-slot--gallery-inline, .ad-slot--liveblog-inline { width: $mpu-original-width; - margin: $gs-baseline auto; + margin: $gs-baseline 0; min-width: $mpu-original-width; min-height: $mpu-original-height + $mpu-ad-label-height; text-align: center;