File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ <h2 class="heading heading--two">{{ value.title }}</h2>
77 {% endif %}
88 {# Section intro #}
99 {% if value.intro %}
10- < p class ="text text--five division-signpost__intro "> {{ value.intro|richtext }}</ p >
10+ < div class ="text text--five division-signpost__intro "> {{ value.intro|richtext }}</ div >
1111 {% endif %}
1212 {# Signposting cards #}
1313 < ul class ="division-signpost__cards ">
1414 {% for card in value.cards %}
1515 < li class ="division-signpost__card division-signpost__card--{{ card.card_colour }} ">
1616 < div class ="division-signpost__text ">
1717 < h3 class ="heading heading--two division-signpost__heading "> {% firstof card.heading card.page.title %}</ h3 >
18- < p class ="heading heading--four-b heading--light division-signpost__description "> {{ card.description|richtext }}</ p >
18+ < div class ="heading heading--four-b heading--light division-signpost__description "> {{ card.description|richtext }}</ div >
1919 </ div >
20- {% srcset_image card.image format-webp fill-{540x280,490x280} sizes="(max-width: 598px) 540px, (min-width: 599px) 490px" class="" alt="" %}
20+ {% srcset_image card.image format-webp fill-{540x280,490x280} sizes="(max-width: 598px) 540px, (min-width: 599px) 490px" alt="" %}
2121 {# The title and icon need to be on the same line with no whitespace to prevent the arrow being orphaned on a new line #}
2222 < a href ="{% pageurl card.page %} " class ="button-link button-link--{{ card.card_colour }} "> {{ card.link_text }} {% include "patterns/atoms/icons/icon.html" with name="arrow-wide" classname="button-link__arrow" %}< span class ="sr-only "> about {% firstof card.heading card.page.title %} division</ span > </ a >
2323 </ li >
You can’t perform that action at this time.
0 commit comments