Browse Source

views fix

master
rdrew 3 weeks ago
parent
commit
3910870913
  1. 4
      css/components/footer.css
  2. 6
      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;
}
}

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

@ -4,9 +4,11 @@
{%- if field.wrapper_element -%}
<{{ field.wrapper_element }}{{ field.wrapper_attributes }}>
{%- endif %}
{%- if field.label -%}
{# {%- 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 }}
{%- endif %}

Loading…
Cancel
Save