fdfsd
This commit is contained in:
parent
e86b6410e6
commit
aa1099a9d8
2 changed files with 9 additions and 2 deletions
|
@ -27,7 +27,7 @@ def favorite_emojis(x):
|
||||||
str = ""
|
str = ""
|
||||||
emojis = sorted(x.items(), key=lambda x: x[1], reverse=True)[:25]
|
emojis = sorted(x.items(), key=lambda x: x[1], reverse=True)[:25]
|
||||||
for k, v in emojis:
|
for k, v in emojis:
|
||||||
str += f'<button class="btn m-1 px-0 emoji2" onclick="getEmoji(\'{k}\')" style="background: None!important; width:60px; overflow: hidden; border: none;" 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="btn m-1 px-0 emoji2" 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
|
return str
|
||||||
|
|
||||||
@app.context_processor
|
@app.context_processor
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<script src="/assets/js/emoji_modal.js?v=80"></script>
|
<script src="/assets/js/emoji_modal.js?v=83"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
a.emojitab {
|
a.emojitab {
|
||||||
|
@ -6,6 +6,13 @@
|
||||||
font-size: 13px !important;
|
font-size: 13px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emoji2 {
|
||||||
|
background: None!important;
|
||||||
|
width:60px;
|
||||||
|
overflow: hidden;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
.emoji2:focus {
|
.emoji2:focus {
|
||||||
border: 1px solid var(--primary) !important;
|
border: 1px solid var(--primary) !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue