css: fix alignment on ghost posts

pull/24/head
justcool393 2022-11-25 11:49:37 -06:00 committed by geese_suck
parent 4e59dc5b55
commit 269a2c71fa
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
2 changed files with 6 additions and 1 deletions

View File

@ -3528,6 +3528,11 @@ small, .small {
.post-meta::-webkit-scrollbar {
display: none;
}
.ghost-post .post-meta {
height: 30px;
}
.sub-flair {
padding: 3px 5px 2px 5px;
border-radius: 5px;

View File

@ -78,7 +78,7 @@
<div id="post-root" class="col-12">
<div class="card border-0 mt-3 {% if p.stickied %}stickied{% endif %} {% if voted==1 %}upvoted{% elif voted==-1 %} downvoted{% endif %}">
<div id="post-{{p.id}}" class="actual-post {% if p.is_banned %}banned{% endif %} {% if p.deleted_utc %}deleted {% endif %} {% if p.award_count('tilt', v) %}p-3{% endif %} {% if p.award_count('glowie', v) %}glow{% endif %} d-flex flex-row-reverse flex-nowrap justify-content-end">
<div id="post-{{p.id}}" class="actual-post {% if p.ghost %}ghost-post{% endif %} {% if p.is_banned %}banned{% endif %} {% if p.deleted_utc %}deleted {% endif %} {% if p.award_count('tilt', v) %}p-3{% endif %} {% if p.award_count('glowie', v) %}glow{% endif %} d-flex flex-row-reverse flex-nowrap justify-content-end">
{% if not p.is_image and p.thumb_url and not p.embed_url %}
<div class="card-header bg-transparent border-0 d-none d-md-flex flex-row flex-nowrap pl-3 p-0">