forked from rDrama/rDrama
commit
3d6a12a750
|
@ -3519,7 +3519,13 @@ small, .small {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
width: fit-content;
|
width: 100%;
|
||||||
|
overflow-x: scroll;
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
.post-meta::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
.sub-flair {
|
.sub-flair {
|
||||||
padding: 3px 5px 2px 5px;
|
padding: 3px 5px 2px 5px;
|
||||||
|
@ -3711,7 +3717,17 @@ small, .small {
|
||||||
}
|
}
|
||||||
.post-actions {
|
.post-actions {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
.post-actions .list-inline {
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
.post-actions .list-inline {
|
||||||
|
flex: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.post-actions a, .post-actions button {
|
.post-actions a, .post-actions button {
|
||||||
color: var(--gray-100);
|
color: var(--gray-100);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
<div id="post-{{p.id}}" class="actual-post {% if p.unread %}unread{% else %}card{% endif %} {% if p.is_banned %} banned{% endif %}{% if p.deleted_utc %} deleted{% endif %}{% if p.stickied %} stickied{% endif %}{% if voted==1 %} upvoted{% elif voted==-1 %} downvoted{% endif %}{% if p.over_18 %} nsfw{% endif %}">
|
<div id="post-{{p.id}}" class="actual-post {% if p.unread %}unread{% else %}card{% endif %} {% if p.is_banned %} banned{% endif %}{% if p.deleted_utc %} deleted{% endif %}{% if p.stickied %} stickied{% endif %}{% if voted==1 %} upvoted{% elif voted==-1 %} downvoted{% endif %}{% if p.over_18 %} nsfw{% endif %}">
|
||||||
|
|
||||||
<div class="d-flex flex-row-reverse flex-md-row flex-nowrap justify-content-end">
|
<div class="d-flex flex-row-reverse flex-md-row flex-nowrap" style="align-items:flex-start">
|
||||||
<div class="voting my-2 d-none d-md-flex pr-2">
|
<div class="voting my-2 d-none d-md-flex pr-2">
|
||||||
{% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
|
{% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
|
||||||
<div tabindex="0" role="button" onclick="vote('post', '{{p.id}}', '1')" class="post-{{p.id}}-up mx-auto arrow-up upvote-button post-{{p.id}}-up {% if voted==1 %}active{% else %}d-none{% endif %}"></div>
|
<div tabindex="0" role="button" onclick="vote('post', '{{p.id}}', '1')" class="post-{{p.id}}-up mx-auto arrow-up upvote-button post-{{p.id}}-up {% if voted==1 %}active{% else %}d-none{% endif %}"></div>
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
<div class="card-header bg-transparent border-0 d-flex flex-row flex-nowrap pl-2 pl-md-0 p-0 mr-md-2">
|
<div class="card-header bg-transparent border-0 d-flex flex-row flex-nowrap pl-2 pl-md-0 p-0 mr-md-2">
|
||||||
|
|
||||||
{% if not v_forbid_deleted %}
|
{% if not v_forbid_deleted %}
|
||||||
<div class="card-thumbnail">
|
<div class="card-thumbnail mt-3">
|
||||||
{% if p.club and not (v and (v.paid_dues or v.id == p.author_id)) %}
|
{% if p.club and not (v and (v.paid_dues or v.id == p.author_id)) %}
|
||||||
<img alt="post thumnail" loading="lazy" src="/e/marseyglow.webp" class="post-img">
|
<img alt="post thumnail" loading="lazy" src="/e/marseyglow.webp" class="post-img">
|
||||||
{% elif not p.url %}
|
{% elif not p.url %}
|
||||||
|
@ -110,9 +110,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="card-block text-left x-scroll-parent my-md-auto w-100">
|
<div class="card-block text-left x-scroll-parent w-100">
|
||||||
|
|
||||||
<div class="post-meta text-left x-scroll mb-md-2">
|
<div class="post-meta text-left x-scroll mb-md-2">
|
||||||
|
<div style="white-space:nowrap;width:0">
|
||||||
{% if p.sub %}
|
{% if p.sub %}
|
||||||
{% if not HOLE_STYLE_FLAIR -%}
|
{% if not HOLE_STYLE_FLAIR -%}
|
||||||
<a class="mr-2" href='/h/{{p.sub}}'>/h/{{p.sub}}</a>
|
<a class="mr-2" href='/h/{{p.sub}}'>/h/{{p.sub}}</a>
|
||||||
|
@ -195,15 +196,19 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="ml-2">{{p.views}} thread views</span>
|
<span class="ml-2">{{p.views}} thread views</span>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h5 class="card-title post-title text-left w-lg-95 mb-0 pb-0 pb-md-1">
|
<h5 class="card-title post-title text-left w-lg-95 pb-0 pb-md-1">
|
||||||
<a id="{{p.id}}-title" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}" class="{% if p.sub %}sub{% endif %} stretched-link {% if p.author.agendaposter and p.sub != 'chudrama' %}agendaposter{% endif %}">
|
<a id="{{p.id}}-title" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}" class="{% if p.sub %}sub{% endif %} stretched-link {% if p.author.agendaposter and p.sub != 'chudrama' %}agendaposter{% endif %}">
|
||||||
{% if p.club %}<span class="patron font-weight-bolder mr-1" style="background-color:red; font-size:12px; line-height:2;">{{CC}}</span>{% endif %}
|
{% if p.club %}<span class="patron font-weight-bolder mr-1" style="background-color:red; font-size:12px; line-height:2;">{{CC}}</span>{% endif %}
|
||||||
{% if p.flair %}<span class="patron font-weight-bolder mr-1" style="background-color:var(--primary); font-size:12px; line-height:2;">{{p.flair | safe}}</span>{% endif %}
|
{% if p.flair %}<span class="patron font-weight-bolder mr-1" style="background-color:var(--primary); font-size:12px; line-height:2;">{{p.flair | safe}}</span>{% endif %}
|
||||||
{{p.realtitle(v) | safe}}
|
{{p.realtitle(v) | safe}}
|
||||||
</a></h5>
|
</a></h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="post-actions mt-2 d-mob-none">
|
<div class="post-actions d-mob-none">
|
||||||
|
<div class="d-flex" style="flex-basis:146px"></div>
|
||||||
<ul class="list-inline text-right d-flex">
|
<ul class="list-inline text-right d-flex">
|
||||||
{% if p.realbody(v, True) %}
|
{% if p.realbody(v, True) %}
|
||||||
<button type="button" class="list-inline-item ml-2" onclick="expandText('{{p.id}}')"><i class="fas fa-expand-alt mx-0 text-expand-icon-{{p.id}}"></i></button>
|
<button type="button" class="list-inline-item ml-2" onclick="expandText('{{p.id}}')"><i class="fas fa-expand-alt mx-0 text-expand-icon-{{p.id}}"></i></button>
|
||||||
|
@ -214,8 +219,6 @@
|
||||||
</a>
|
</a>
|
||||||
{% include 'post_actions.html' %}
|
{% include 'post_actions.html' %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-md-none mt-2">
|
<div class="d-md-none mt-2">
|
||||||
|
|
Loading…
Reference in New Issue