better margins

master
Aevann 2024-11-13 14:56:41 +02:00
parent e8252b7197
commit dfd996a37c
1 changed files with 4 additions and 2 deletions

View File

@ -218,13 +218,15 @@
<form id="post-edit-form-{{p.id}}" action="/edit_post/{{p.id}}" method="post" enctype="multipart/form-data" data-nonce="{{g.nonce}}" data-onsubmit="edit_post(this)">
<input hidden name="formkey" value="{{v|formkey}}" class="notranslate" translate="no">
<input hidden name="current_page" value="{{request.path}}">
<textarea id="post-edit-title" autocomplete="off" maxlength="500" name="title" class="comment-box form-control rounded" required placeholder="Title">{{p.title}}</textarea>
{{macros.emoji_btn('post-edit-title')}}
<pre></pre>
<input id="urlblock" autocomplete="off" maxlength="2083" name="url" type="url" class="comment-box form-control rounded mt-3" placeholder="URL" value="{% if p.url %}{% if p.url.startswith('/') %}{{SITE_FULL}}{% endif %}{{p.url}}{% endif %}">
<input id="urlblock" autocomplete="off" maxlength="2083" name="url" type="url" class="comment-box form-control rounded placeholder="URL" value="{% if p.url %}{% if p.url.startswith('/') %}{{SITE_FULL}}{% endif %}{{p.url}}{% endif %}">
<div style="display:flex;align-items:center" class="mb-3">
<img loading="lazy" id="image-preview" class="mt-2" style="max-width:50%" data-nonce="{{g.nonce}}" data-onclick="expandImage()">
<img loading="lazy" id="image-preview" class="mt-2 mb-3" style="max-width:50%" data-nonce="{{g.nonce}}" data-onclick="expandImage()">
<label class="btn btn-secondary m-0 mr-1" for="file-upload">
<div>Select File</div>
<input autocomplete="off" id="file-upload" accept="image/*, video/*, audio/*" type="file" name="file-url" {% if g.is_tor %}disabled{% endif %} hidden>