margin consistency

master
Aevann 2024-04-06 06:39:07 +02:00
parent a6a442c91d
commit 82d1b335b3
1 changed files with 12 additions and 14 deletions

View File

@ -43,22 +43,20 @@
{{macros.chat_window(vlink)}} {{macros.chat_window(vlink)}}
</div> </div>
<div class="col text-left d-none d-lg-block pt-3 pb-5" style="max-width:313px"> <div class="col text-left d-none d-lg-block pb-5" style="max-width:313px">
{% if chat.id == 1 %} {% if chat.id == 1 %}
<div class="col text-left d-none d-lg-block pt-3 pb-5" style="max-width:300px"> {% if SITE_NAME == 'WPD' %}
{% if SITE_NAME == 'WPD' %} <h5>Chat Rules</h5>
<h5>Chat Rules</h5> <ul class="mt-2 mb-4">
<ul class="mt-2 mb-4"> <li>Follow the rules mentioned on <a href="/sidebar">the sidebar</a>.</li>
<li>Follow the rules mentioned on <a href="/sidebar">the sidebar</a>.</li> <li>Do not try to crash the chatroom with malicious code (CSS).</li>
<li>Do not try to crash the chatroom with malicious code (CSS).</li> <li>Do not send porn in chat.</li>
<li>Do not send porn in chat.</li> <li>Do not spam.</li>
<li>Do not spam.</li> </ul>
</ul> {% endif %}
{% endif %}
<h5>Users Online (<span class="chat-count"></span>)</h5> <h5>Users Online (<span class="chat-count"></span>)</h5>
<div id="online" class="mt-2 {% if SITE_NAME == 'WPD' %}online-wpd{% endif %}"></div> <div id="online" class="mt-2 {% if SITE_NAME == 'WPD' %}online-wpd{% endif %}"></div>
</div>
{% else %} {% else %}
<h5>Members ({{sorted_memberships|length}})</h5> <h5>Members ({{sorted_memberships|length}})</h5>
<div id="members" class="mt-2"> <div id="members" class="mt-2">