web: fix emojy stretching and meme display

This commit is contained in:
Chris Sexton 2024-02-28 10:40:47 -05:00
parent 0a775b78b7
commit ec008a8884
1 changed files with 3 additions and 2 deletions

View File

@ -16,10 +16,11 @@ templ (p *EmojyPlugin) listTempl(emojy emojyMap) {
for _, v := range emojy { for _, v := range emojy {
for _, c := range v { for _, c := range v {
<div class="cell"> <div class="cell">
<div class="card"> <div class="card"
style="max-width: 100px">
<img src={ c.URL } <img src={ c.URL }
class=""
style="max-height: 100px" style="max-height: 100px"
style="max-width: 100px"
alt={ c.Emojy } alt={ c.Emojy }
/> />
<div class="card-divider"> <div class="card-divider">