add vertical padding

pull/221/head
Aevann 2024-01-11 04:03:08 +02:00
parent cede2241d1
commit 291e55cdde
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@
{% if not v_forbid_deleted %}
{% set tilt = p.award_count('tilt', v) %}
<div id="post-body" class="post-body mt-3" {% if tilt %}style="transform: rotate({{tilt}}deg);padding-right: {{tilt*10}}px;padding-left: {{tilt*10}}px"{% endif %}>
<div id="post-body" class="post-body mt-3" {% if tilt %}style="transform: rotate({{tilt}}deg); padding: {{tilt*4}}px {{tilt*10}}px"{% endif %}>
{% if p.realurl(v) and not p.is_image and not p.is_video and not p.is_audio %}
<a rel="noopener" href="{{p.realurl(v)}}" {% if not v or v.newtabexternal %}target="_blank"{% endif %}>
<div class="d-flex justify-content-between align-items-center border rounded p-2 mb-3">