Skip to content
Snippets Groups Projects
Commit 18283b77 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-5090-ebremner-contact-title-update' into '3.0.x'

ISTWCMS-5090: updating card to use separate position element

See merge request !95
parents 30204270 04795ba8
No related branches found
No related tags found
1 merge request!95ISTWCMS-5090: updating card to use separate position element
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -124,6 +124,12 @@ $card-padding: rem(gesso-spacing(sm)) !default; ...@@ -124,6 +124,12 @@ $card-padding: rem(gesso-spacing(sm)) !default;
} }
} }
} }
.card__position {
color: $uw-black;
font-size: 1.26562rem;
}
// footer // footer
.card__footer { .card__footer {
@include uw-no-breakout(); @include uw-no-breakout();
......
...@@ -38,5 +38,6 @@ ...@@ -38,5 +38,6 @@
'address': node.address, 'address': node.address,
'map_link': node.map_link, 'map_link': node.map_link,
'catalog_tags': node.catalog_tags, 'catalog_tags': node.catalog_tags,
'position': node.position,
} %} } %}
</div> </div>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
{% endif %} {% endif %}
<div class="card__body"> <div class="card__body">
{% if title or author or date or sub_title %} {% if title or author or date or sub_title or position %}
<div class="card__header"> <div class="card__header">
{% if date %} {% if date %}
<div class="card__date"> <div class="card__date">
...@@ -36,10 +36,15 @@ ...@@ -36,10 +36,15 @@
</a> </a>
{% endif %} {% endif %}
</h{{ header_level }}> </h{{ header_level }}>
{% if sub_title %}
<span class="sub-title">{{ sub_title }}</span>
{% endif %}
{% endif %} {% endif %}
{% if sub_title %} {% if position %}
<span class="sub-title">{{ sub_title }}</span> <div class="card__position">
{{ position }}
</div>
{% endif %} {% endif %}
{% if author %} {% if author %}
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
</a> </a>
</h2> </h2>
{% endif %} {% endif %}
{% if contact.sub_title %} {% if contact.position %}
<span class="uw-contact__position"> <span class="uw-contact__position">
{{ contact.sub_title }} {{ contact.position }}
</span> </span>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment