Browse Source
Merge pull request #26 from auscompgeek/patch-1
Show sticker body in hover tooltip
pull/32/head
Tulir Asokan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
web/src/index.js
|
@ -309,7 +309,7 @@ const Pack = ({ pack, send }) => html` |
|
|
|
|
|
|
|
|
const Sticker = ({ content, send }) => html`
|
|
|
const Sticker = ({ content, send }) => html`
|
|
|
<div class="sticker" onClick=${send} data-sticker-id=${content.id}> |
|
|
<div class="sticker" onClick=${send} data-sticker-id=${content.id}> |
|
|
<img data-src=${makeThumbnailURL(content.url)} alt=${content.body} /> |
|
|
|
|
|
|
|
|
<img data-src=${makeThumbnailURL(content.url)} alt=${content.body} title=${content.body} /> |
|
|
</div> |
|
|
</div> |
|
|
`
|
|
|
`
|
|
|
|
|
|
|
|
|