add horizontal padding on mobile

master
Aevann 2024-04-07 06:09:43 +02:00
parent d5f81d8ce4
commit da51eafad7
1 changed files with 22 additions and 20 deletions

View File

@ -1,29 +1,31 @@
{% extends "default.html" %} {% extends "default.html" %}
{% block pagetitle %}Contact{% endblock %} {% block pagetitle %}Contact{% endblock %}
{% block content %} {% block content %}
<h1>Contact {{SITE_NAME}} Admins</h1> <div class="px-2 px-md-0">
{% if v %} <h1>Contact {{SITE_NAME}} Admins</h1>
<form id="contactform" action="/contact" method="post" enctype="multipart/form-data" data-nonce="{{g.nonce}}" data-onsubmit="contact(this)"> {% if v %}
<label for="input-message" class="mt-3">Your message</label> <form id="contactform" action="/contact" method="post" enctype="multipart/form-data" data-nonce="{{g.nonce}}" data-onsubmit="contact(this)">
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no"> <label for="input-message" class="mt-3">Your message</label>
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="file-ta form-control" required></textarea> <input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
<div class="format-btns"> <textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="file-ta form-control" required></textarea>
{{macros.emoji_btn('input-message')}} <div class="format-btns">
{{macros.gif_btn('input-message')}} {{macros.emoji_btn('input-message')}}
{{macros.file_btn('file-upload-contact')}} {{macros.gif_btn('input-message')}}
<input type="submit" value="Submit" class="btn btn-primary ml-auto"> {{macros.file_btn('file-upload-contact')}}
</div> <input type="submit" value="Submit" class="btn btn-primary ml-auto">
</form> </div>
</form>
{% include "modals/emoji.html" %} {% include "modals/emoji.html" %}
{% include "modals/gif.html" %} {% include "modals/gif.html" %}
{% if SITE_NAME == 'rDrama' %} {% if SITE_NAME == 'rDrama' %}
<h5 class="mt-5">If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2024 yet.</h5> <h5 class="mt-5">If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2024 yet.</h5>
{% endif %}
{% else %}
<h4>by email: {{EMAIL}}</h4>
{% endif %} {% endif %}
{% else %} </div>
<h4>by email: {{EMAIL}}</h4>
{% endif %}
<script defer src="{{'js/contact.js' | asset}}"></script> <script defer src="{{'js/contact.js' | asset}}"></script>
{% endblock %} {% endblock %}