Tweak icon margins

This commit is contained in:
Philipp Oppermann
2022-12-18 12:00:43 +01:00
parent cc6d5eefb5
commit c40ac1b1d7
2 changed files with 2 additions and 3 deletions

View File

@@ -435,7 +435,7 @@ tbody tr:nth-child(odd) th {
.post-icon { .post-icon {
display: inline-block; display: inline-block;
padding-top: 0rem; padding-top: 0rem;
margin-left: 1rem; margin-left: 0.8rem;
margin-top: -2rem; margin-top: -2rem;
margin-bottom: -2rem; margin-bottom: -2rem;
width: 3rem; width: 3rem;

View File

@@ -36,8 +36,7 @@
{% block main %} {% block main %}
<div class="{% if page.extra.rtl %}right-to-left{% endif %}"> <div class="{% if page.extra.rtl %}right-to-left{% endif %}">
<div class="post-title"> <div class="post-title">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1><span class="post-icon">
<span class="post-icon">
{%- if page.extra.icon -%}{{page.extra.icon | safe}}{%- endif -%} {%- if page.extra.icon -%}{{page.extra.icon | safe}}{%- endif -%}
</span> </span>
</div> </div>