center flex div

This commit is contained in:
antil0pa 2020-01-20 22:49:14 +01:00
parent 59f902b074
commit 8e582c28fc
2 changed files with 7 additions and 2 deletions

View File

@ -77,7 +77,7 @@ a:hover {
margin-top: -50px;
width: 80vw;
position: relative;
left: calc(-40vw + 50%);
left: calc(-40vw + 55%);
/* display: flex;
flex-direction: row;
flex-wrap: wrap;
@ -386,7 +386,7 @@ a:hover {
margin-left: 0;
margin-right: 0;
margin-bottom: 1rem;
margin-top: 17rem;
margin-top: 5rem;
font-size: 0.7rem;
overflow: hidden;
border: none;

View File

@ -15,3 +15,8 @@
{% endif %}
</div>
{% endif %}
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %}
<h4>Related Pages</h4>
{% include 'partials/relatedpages.html.twig' %}
{% endif %}