add gif button to chat

master
Aevann 2023-10-06 18:02:39 +03:00
parent ef4096b849
commit 5c6e784d91
4 changed files with 8 additions and 3 deletions

View File

@ -185,6 +185,8 @@ h1, h2, h3, h4, h5, h6 {
}
}
#shrink .format .fas {
font-size: 1.3rem !important;
@media (min-width: 768px) {
#chatsend, #shrink .format .fas {
font-size: 1.3rem !important;
}
}

View File

@ -7,6 +7,7 @@
{% include "header.html" %}
{% include "modals/expanded_image.html" %}
{% include "modals/emoji.html" %}
{% include "modals/gif.html" %}
{% include "util/macros.html" %}
{% set vlink = '<a href="/id/' ~ v.id ~ '"' %}
<div class="container pb-4 pb-md-2">

View File

@ -8,6 +8,7 @@
{% include "header.html" %}
{% include "modals/expanded_image.html" %}
{% include "modals/emoji.html" %}
{% include "modals/gif.html" %}
{% include "util/macros.html" %}
{% set vlink = '<a href="/id/' ~ v.id ~ '"' %}
<div class="orgy-top-container">

View File

@ -340,11 +340,12 @@
</div>
{{emoji_btn('input-text-chat')}}
{{gif_btn('input-text-chat')}}
{{file_btn('file', False, True)}}
<textarea id="input-text-chat" minlength="1" maxlength="{% if SITE == 'rdrama.net' %}200{% else %}1000{% endif %}" {% if g.browser in ("iphone","mac") %}style="font-size:16px!important"{% endif %} class="file-ta form-control ml-2" placeholder="Message" autocomplete="off" autofocus rows="1"></textarea>
<i id="chatsend" data-nonce="{{g.nonce}}" data-onclick="send()" class="btn btn-secondary fas fa-reply ml-1 my-auto" style="transform:rotateY(180deg);font-size:1.3rem!important"></i>
<i id="chatsend" data-nonce="{{g.nonce}}" data-onclick="send()" class="btn btn-secondary fas fa-reply ml-1 my-auto" style="transform:rotateY(180deg)"></i>
</div>
<div id="ghostdiv-chat" class="ghostdiv" style="display: none"><span></span></div>
</div>