Skip to content

Commit

Permalink
Centre gallery ad slots
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-imber committed Dec 10, 2024
1 parent adfc49f commit d09041f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions applications/app/views/fragments/gallerySlot.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
Map(),
optId = if(isMobile) Some(s"$slotName--mobile") else None,
optClassNames = if(isMobile) Some("mobile-only") else Some("hide-until-tablet")
useFlexContainer = true
){ }
}
2 changes: 1 addition & 1 deletion static/src/stylesheets/module/_adslot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d09041f

Please sign in to comment.