Skip to content

Commit

Permalink
Fix label and centring when showing ads in merch slots (#26694)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeii authored Nov 17, 2023
1 parent b82b18a commit 4c21aa5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"merchandising",
Seq("commercial-component"),
Map(),
showLabel=false,
showLabel=true,
refresh=false
){ }
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@guardian/atom-renderer": "^2.0.0",
"@guardian/automat-modules": "^0.3.8",
"@guardian/braze-components": "^15.0.1",
"@guardian/commercial": "11.21.0",
"@guardian/commercial": "11.22.0",
"@guardian/consent-management-platform": "13.7.1",
"@guardian/core-web-vitals": "^5.0.0",
"@guardian/identity-auth": "1.1.0",
Expand Down
3 changes: 2 additions & 1 deletion static/src/stylesheets/module/_adslot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
width: 100%;
}

.ad-slot-container[top-above-nav-ad-rendered='true'] {
.ad-slot-container[top-above-nav-ad-rendered='true'],
.ad-slot-container--centre-slot {
width: fit-content;
margin: 0 auto;
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2350,10 +2350,10 @@
resolved "https://registry.yarnpkg.com/@guardian/braze-components/-/braze-components-15.0.1.tgz#2c936c43e654f5ae28db254329eae1b4b5861641"
integrity sha512-XNqYE9X/4aM5vZqiZInedvEZ9niPfdqwL7SjzNF0wnVbR+YObOC6QC68M521gTPcyca6r190qtnayv4GNO0peg==

"@guardian/commercial@11.21.0":
version "11.21.0"
resolved "https://registry.yarnpkg.com/@guardian/commercial/-/commercial-11.21.0.tgz#28bbd5adcc42d902d34e4b93d8357ba471b4db35"
integrity sha512-PG8as3pWnlvmEcU9ySb9sv1hKA4CMPyu9LyDgkP3gcvgKWCVNSdJSIujhpju9vgkf28WMF55+DDdcvsqRsEtsA==
"@guardian/commercial@11.22.0":
version "11.22.0"
resolved "https://registry.yarnpkg.com/@guardian/commercial/-/commercial-11.22.0.tgz#e9d6e168a08f3c02cc4050c4390bf571f26803e4"
integrity sha512-i9CUCtZTjfErKKgHFJ2jdJg/JqBO0mX8TQHBNQvhN7xN+68kQEFCTam26KDMY1d2OP/ZWVOjSFCYySXHB4+u/w==
dependencies:
"@changesets/cli" "^2.26.2"
"@octokit/core" "^4.0.5"
Expand Down

0 comments on commit 4c21aa5

Please sign in to comment.