forked from rDrama/rDrama
remove apparenctly unnecessary code
parent
1c71a1bde9
commit
732932fd60
|
@ -247,7 +247,7 @@
|
|||
|
||||
{% set realbody = c.realbody(v) %}
|
||||
{% set tilt = c.award_count('tilt', v) %}
|
||||
<div id="comment-text-{{c.id}}" class="{{c.award_classes(v)}} comment-text mb-0" {% if tilt %}style="transform: rotate({{tilt}}deg); padding: min(10vh,{{tilt*4}}px) min(10vw,{{tilt*10}}px)"{% endif %}>
|
||||
<div id="comment-text-{{c.id}}" class="{{c.award_classes(v)}} comment-text mb-0" {% if tilt %}style="transform: rotate({{tilt}}deg); padding: {{tilt*4}}px min(10vw,{{tilt*10}}px)"{% endif %}>
|
||||
{{realbody | safe}}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -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: min(10vh,{{tilt*4}}px) min(10vw,{{tilt*10}}px)"{% endif %}>
|
||||
<div id="post-body" class="post-body mt-3" {% if tilt %}style="transform: rotate({{tilt}}deg); padding: {{tilt*4}}px min(10vw,{{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">
|
||||
|
|
Loading…
Reference in New Issue