forked from MarseyWorld/MarseyWorld
fix
parent
08d1523320
commit
f03291f6ab
|
@ -27,7 +27,7 @@ def favorite_emojis(x):
|
|||
str = ""
|
||||
emojis = sorted(x.items(), key=lambda x: x[1], reverse=True)[:25]
|
||||
for k, v in emojis:
|
||||
str += f'<button class="m-1 p-[3px] bg-transparent hover:bg-gray-200 w-16 h-16 overflow-hidden" onclick="getEmoji(\'{k}\')" data-bs-toggle="tooltip" title=":{k}:" delay:="0"><img loading="lazy" width=50 src="/assets/images/emojis/{k}.webp" alt="{k}-emoji"></button>'
|
||||
str += f'<button class="m-1 p-[3px] bg-transparent hover:bg-gray-300 w-16 h-16 overflow-hidden" onclick="getEmoji(\'{k}\')" data-bs-toggle="tooltip" title=":{k}:" delay:="0"><img loading="lazy" width=50 src="/assets/images/emojis/{k}.webp" alt="{k}-emoji"></button>'
|
||||
return str
|
||||
|
||||
@app.context_processor
|
||||
|
|
|
@ -1 +1 @@
|
|||
<div class="animate-pulse hover:bg-gray-200"></div>
|
||||
<div class="animate-pulse hover:bg-gray-300"></div>
|
Loading…
Reference in New Issue