Skip to content

Commit

Permalink
fix: QR code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Jun 19, 2024
1 parent 398b5d8 commit 8b764a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dot-connect/src/elements/components/dc-qr-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ export default class QrCode extends DotConnectElement {

protected override render() {
return html`
<div id="container" style=${styleMap({ padding: this.#padding })}>
<div id="container" style=${styleMap({ padding: `${this.#padding}px` })}>
<div id="qr-code-container">
<div id="logo-container">
${this.logoSrc === undefined
? walletIcon({ size: this.logoSize })
: html`<img
src=${this.logoSrc}
style=${styleMap({
width: this.logoSize,
height: this.logoSize,
width: `${this.logoSize}px`,
height: `${this.logoSize}px`,
})}
/>`}
</div>
Expand Down

0 comments on commit 8b764a3

Please sign in to comment.