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" %}
{% block pagetitle %}Contact{% endblock %}
{% block content %}
<h1>Contact {{SITE_NAME}} Admins</h1>
{% if v %}
<form id="contactform" action="/contact" method="post" enctype="multipart/form-data" data-nonce="{{g.nonce}}" data-onsubmit="contact(this)">
<label for="input-message" class="mt-3">Your message</label>
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="file-ta form-control" required></textarea>
<div class="format-btns">
{{macros.emoji_btn('input-message')}}
{{macros.gif_btn('input-message')}}
{{macros.file_btn('file-upload-contact')}}
<input type="submit" value="Submit" class="btn btn-primary ml-auto">
</div>
</form>
<div class="px-2 px-md-0">
<h1>Contact {{SITE_NAME}} Admins</h1>
{% if v %}
<form id="contactform" action="/contact" method="post" enctype="multipart/form-data" data-nonce="{{g.nonce}}" data-onsubmit="contact(this)">
<label for="input-message" class="mt-3">Your message</label>
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="file-ta form-control" required></textarea>
<div class="format-btns">
{{macros.emoji_btn('input-message')}}
{{macros.gif_btn('input-message')}}
{{macros.file_btn('file-upload-contact')}}
<input type="submit" value="Submit" class="btn btn-primary ml-auto">
</div>
</form>
{% include "modals/emoji.html" %}
{% include "modals/gif.html" %}
{% include "modals/emoji.html" %}
{% include "modals/gif.html" %}
{% 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>
{% 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>
{% endif %}
{% else %}
<h4>by email: {{EMAIL}}</h4>
{% endif %}
{% else %}
<h4>by email: {{EMAIL}}</h4>
{% endif %}
</div>
<script defer src="{{'js/contact.js' | asset}}"></script>
{% endblock %}