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 { .lmmi_logo {
margin-bottom: 1em; margin-bottom: 1em;
} }
@media ((min-width:700px)) {
.lmmi_logo, .lmmi_logo,
.upei_logo, .upei_logo,
.social_icons { .social_icons {
padding-right: 4em; padding-right: 4em;
} }
}

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

@ -4,9 +4,11 @@
{%- if field.wrapper_element -%} {%- if field.wrapper_element -%}
<{{ field.wrapper_element }}{{ field.wrapper_attributes }}> <{{ field.wrapper_element }}{{ field.wrapper_attributes }}>
{%- endif %} {%- endif %}
{%- if field.label -%} {# {%- if field.label -%} #}
{%- if field.label and field.content|striptags|trim is not empty -%}
{%- if field.label_element -%} {%- 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 -%} {%- else -%}
{{ field.label }}{{ field.label_suffix }} {{ field.label }}{{ field.label_suffix }}
{%- endif %} {%- endif %}

Loading…
Cancel
Save