Skip to content

Commit

Permalink
Wrap output element with a div
Browse files Browse the repository at this point in the history
  • Loading branch information
Swanand01 committed Apr 10, 2024
1 parent c437dcf commit bb82f61
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions packages/element-library/src/audioSticker/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@ import { StoryPropTypes } from '@googleforcreators/elements';

function AudioStickerOutput({ element }) {
return (
<amp-story-audio-sticker
size={element.size}
sticker={element.sticker}
sticker-style={
element.style && element.style !== 'none' ? element.style : undefined
}
style={{
height: '100%',
}}
/>
<div className="audio-sticker">
<amp-story-audio-sticker
size={element.size}
sticker={element.sticker}
sticker-style={
element.style && element.style !== 'none' ? element.style : undefined
}
style={{
height: '100%',
}}
/>
</div>
);
}

Expand Down

0 comments on commit bb82f61

Please sign in to comment.