diff --git a/creativecloud/blocks/universal-promo-terms/universal-promo-terms.css b/creativecloud/blocks/universal-promo-terms/universal-promo-terms.css index d878b768..ca14ab70 100644 --- a/creativecloud/blocks/universal-promo-terms/universal-promo-terms.css +++ b/creativecloud/blocks/universal-promo-terms/universal-promo-terms.css @@ -7,3 +7,7 @@ body .global-footer { background: none; } + +.universal-promo-terms img { + min-height: 72px; +} diff --git a/creativecloud/blocks/universal-promo-terms/universal-promo-terms.js b/creativecloud/blocks/universal-promo-terms/universal-promo-terms.js index 307681aa..a249b4b2 100644 --- a/creativecloud/blocks/universal-promo-terms/universal-promo-terms.js +++ b/creativecloud/blocks/universal-promo-terms/universal-promo-terms.js @@ -31,6 +31,14 @@ const replacePlaceholderText = (text, params) => { return finalText; }; +/** + * Returns promo term HTML from API + * @param {*} params + * @param {*} el + * @param {*} env + * @param {*} search + * @returns + */ async function getTermsHTML(params, el, env, search) { const locationSearch = search ?? window.location.search; let promoTerms; @@ -70,6 +78,4 @@ export default async function init(el, search) { } else { el.innerHTML = termsHTML; } - // eslint-disable-next-line no-restricted-globals - history.replaceState(null, '', location.pathname); }