Skip to content

Commit

Permalink
Fix audio element height
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Jul 18, 2024
1 parent 34addbb commit 44cebd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/audio/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function init(ctx, [{ type, opts }, content]) {
ctx.root.innerHTML = `
<div class="root">
<audio ${opts} src="${createDataUrl(content, type)}" style="height: 150px"/>
<audio ${opts} src="${createDataUrl(content, type)}" />
</div>
`;

Expand Down

0 comments on commit 44cebd0

Please sign in to comment.