Skip to content

Commit

Permalink
Use my-auto
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Oct 7, 2024
1 parent 1a879c9 commit cdede9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@
{% endif %}
{% if content.field_resource_families.0 %}
<div class="resource_families_fields row">
<div class="col-3 p-3 m-auto">
<div class="col-3 p-3 my-auto">
<a href="/node/4738">
<img src="/themes/contrib/clarin_bootstrap/images/resource-families-logo.jpg" alt="CLARIN Resource Familes logo, linking to the 'Resource Familes' section of this website">
</a>
</div>
<div class="col-9 pt-3 m-auto">
<div class="col-9 pt-3 my-auto">
<div class="field--label-inline">{{ content.field_resource_families }}</div>
</div>
</div>
{% endif %}
{% if content.field_tour_de_clarin_intro.0 or content.field_tour_de_clarin_interview.0 %}
<div class="tour_de_clarin_fields row">
<div class="col-3 p-0 m-auto">
<div class="col-3 p-0 my-auto">
<a href="/node/4526">
<img src="/themes/contrib/clarin_bootstrap/images/tour-de-clarin-logo.png" alt="Tour de CLARIN logo, linking to the 'Tour de CLARIN' section of this website" >
</a>
Expand Down
8 changes: 4 additions & 4 deletions templates/content/node--k-centre-profile.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,24 @@
{{ content.field_generic_topics }}
{% if content.field_resource_families.0 %}
<div class="resource_families_fields row">
<div class="col-3 p-3 m-auto">
<div class="col-3 p-3 my-auto">
<a href="/node/4738">
<img src="/themes/contrib/clarin_bootstrap/images/resource-families-logo.jpg" alt="CLARIN Resource Familes logo, linking to the 'Resource Familes' section of this website">
</a>
</div>
<div class="col-9">
<div class="col-9 my-auto">
<div class="field--label-inline">{{ content.field_resource_families }}</div>
</div>
</div>
{% endif %}
{% if content.field_tour_de_clarin_intro.0 or content.field_tour_de_clarin_interview.0 %}
<div class="tour_de_clarin_fields row pb-4">
<div class="col-3 p-0 m-auto">
<div class="col-3 p-0 my-auto">
<a href="/node/4526">
<img src="/themes/contrib/clarin_bootstrap/images/tour-de-clarin-logo.png" alt="Tour de CLARIN logo, linking to the 'Tour de CLARIN' section of this website" >
</a>
</div>
<div class="col-9 m-auto">
<div class="col-9 my-auto">
<div class="field--label-inline"><div class="field__label">Introduction</div>{{ content.field_tour_de_clarin_intro.0 }}</div>
<div class="field--label-inline"><div class="field__label">Interview</div>{{ content.field_tour_de_clarin_interview.0 }}</div>
</div>
Expand Down

0 comments on commit cdede9b

Please sign in to comment.