Browse Source

views fix

master
rdrew 3 weeks ago
parent
commit
3910870913
  1. 4
      css/components/footer.css
  2. 28
      templates/views/views-view-fields--solr-search-content.html.twig

4
css/components/footer.css

@ -84,9 +84,13 @@ footer.site-footer .block {
.lmmi_logo {
margin-bottom: 1em;
}
@media ((min-width:700px)) {
.lmmi_logo,
.upei_logo,
.social_icons {
padding-right: 4em;
}
}

28
templates/views/views-view-fields--solr-search-content.html.twig

@ -1,23 +1,25 @@
<div class="grid-item">
{% for field in fields -%}
{% for field in fields -%}
{{ field.separator }}
{%- if field.wrapper_element -%}
<{{ field.wrapper_element }}{{ field.wrapper_attributes }}>
{%- endif %}
{%- if field.label -%}
<{{ field.wrapper_element }}{{ field.wrapper_attributes }}>
{%- endif %}
{# {%- if field.label -%} #}
{%- if field.label and field.content|striptags|trim is not empty -%}
{%- if field.label_element -%}
<{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.label_suffix }}</{{ field.label_element }}>
<{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.label_suffix }}</{{
field.label_element }}>
{%- else -%}
{{ field.label }}{{ field.label_suffix }}
{{ field.label }}{{ field.label_suffix }}
{%- endif %}
{%- endif %}
{%- if field.element_type -%}
{%- endif %}
{%- if field.element_type -%}
<{{ field.element_type }}{{ field.element_attributes }}>{{ field.content }}</{{ field.element_type }}>
{%- else -%}
{%- else -%}
{{ field.content }}
{%- endif %}
{%- if field.wrapper_element -%}
</{{ field.wrapper_element }}>
{%- endif %}
{%- if field.wrapper_element -%}
</{{ field.wrapper_element }}>
{%- endif %}
{%- endfor %}
{%- endfor %}
</div>

Loading…
Cancel
Save