mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
bigger buttons on post teaser
This commit is contained in:
parent
9d96436992
commit
26e768c91f
3 changed files with 19 additions and 3 deletions
|
@ -596,6 +596,13 @@ fieldset legend {
|
||||||
.post_list .post_teaser .meta_row a, .post_list .post_teaser .main_row a, .post_list .post_teaser .utilities_row a {
|
.post_list .post_teaser .meta_row a, .post_list .post_teaser .main_row a, .post_list .post_teaser .utilities_row a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.post_list .post_teaser .utilities_row a {
|
||||||
|
display: inline-block;
|
||||||
|
width: 44px;
|
||||||
|
}
|
||||||
|
.post_list .post_teaser .utilities_row .preview_image, .post_list .post_teaser .utilities_row .post_options {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
.post_list .post_teaser .thumbnail {
|
.post_list .post_teaser .thumbnail {
|
||||||
float: right;
|
float: right;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
|
@ -218,6 +218,16 @@ nav, etc which are used site-wide */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.utilities_row {
|
||||||
|
a {
|
||||||
|
display: inline-block;
|
||||||
|
width: 44px;
|
||||||
|
}
|
||||||
|
.preview_image, .post_options {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
float: right;
|
float: right;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
|
@ -58,8 +58,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row utilities_row">
|
<div class="row utilities_row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<a href="{{ url_for('activitypub.post_ap', post_id=post.id, sort='new' if sort == 'active' else None, _anchor='post_replies') }}" aria-label="{{ _('View comments') }}" aria-hidden="true"><span class="fe fe-reply"></span></a>
|
<a href="{{ url_for('activitypub.post_ap', post_id=post.id, sort='new' if sort == 'active' else None, _anchor='post_replies') }}" aria-label="{{ _('View comments') }}"><span class="fe fe-reply"></span> {{ post.reply_count }}</a>
|
||||||
<a href="{{ url_for('activitypub.post_ap', post_id=post.id, sort='new' if sort == 'active' else None, _anchor='post_replies') }}" aria-label="{{ _('View comments') }}">{{ post.reply_count }}</a>
|
|
||||||
{% if post.type == POST_TYPE_IMAGE %}
|
{% if post.type == POST_TYPE_IMAGE %}
|
||||||
{% if post.image_id %}
|
{% if post.image_id %}
|
||||||
<a href="{{ post.image.view_url() }}" rel="nofollow ugc" class="preview_image" aria-label="{{ _('View image') }}" aria-hidden="true"><span class="fe fe-magnify"></span></a>
|
<a href="{{ post.image.view_url() }}" rel="nofollow ugc" class="preview_image" aria-label="{{ _('View image') }}" aria-hidden="true"><span class="fe fe-magnify"></span></a>
|
||||||
|
@ -68,7 +67,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2"><a href="{{ url_for('post.post_options', post_id=post.id) }}" rel="nofollow" aria-label="{{ _('Options') }}"><span class="fe fe-options" title="Options"> </span></a></div>
|
<div class="col-2"><a href="{{ url_for('post.post_options', post_id=post.id) }}" rel="nofollow" class="post_options" aria-label="{{ _('Options') }}"><span class="fe fe-options" title="Options"> </span></a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue