content bloc: fix margins and breakpoints

This commit is contained in:
2021-07-14 18:15:14 +02:00
parent 030e71d276
commit d35553a1e2
14 changed files with 34 additions and 29 deletions

View File

@@ -38,7 +38,7 @@ This view should receive those arguments:
{% block personcontent %}
<div class="person-view">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="col-md-10 col-xxl">
<div class="row">
{% if person.memo is not empty and chill_person.fields.memo == 'visible' %}
@@ -230,7 +230,7 @@ This view should receive those arguments:
</div>
{%- endif -%}
</div>
{% if cFGroup and (cFGroup.getActiveCustomFields|length > 0) %}
<div class="row">
<div class="col-12 custom-fields">
@@ -239,23 +239,22 @@ This view should receive those arguments:
</figure>
</div>
</div>
<div class="row">
<figure class="person-details"></figure>
</div>
{% endif %}
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
<ul class="sticky-form-buttons record_actions">
<li>
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
{{ 'Edit'|trans }}
</a>
</li>
</ul>
{% endif %}
</div>
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
<ul class="col-md-10 sticky-form-buttons record_actions ">
<li>
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
{{ 'Edit'|trans }}
</a>
</li>
</ul>
{% endif %}
</div>
</div>