Skip to content

Commit

Permalink
MWPW-145307- Move enticement text to p tag (#250)
Browse files Browse the repository at this point in the history
* remove h2 for enticement text

* remove h2 for enticement text
  • Loading branch information
Ruchika4 authored Mar 26, 2024
1 parent cd28ca1 commit 272a992
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions creativecloud/features/genfill/genfill-interactive.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
margin: 40px 0 16px -20px;
top: -90px;
color: var(--color-white);
font-weight: 700;
}

.enticement-text.light {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
margin: 40px 0 16px -20px;
top: -90px;
color: var(--color-white);
font-weight: 700;
}

.enticement-text.light {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function createEnticement(enticementDetail, mode) {
const svgImage = createTag('img', { class: 'enticement-arrow', alt: '' });
let arrowText;
[arrowText, svgImage.src] = enticementDetail.split('|');
const enticementText = createTag('h2', { class: 'enticement-text' }, arrowText.trim());
const enticementText = createTag('p', { class: 'enticement-text' }, arrowText.trim());
enticementDiv.append(enticementText, svgImage);
if (mode === 'light') enticementText.classList.add('light');
return enticementDiv;
Expand Down

0 comments on commit 272a992

Please sign in to comment.