File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
bedrock/mozorg/templates/mozorg/cms/about Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ <h1 class="visually-hidden">{{ page.title }}</h1>
4242 < section class ="leadership-section " id ="{{ section.value.id }} ">
4343 {% set first_group = section.value.leadership_group[0] %}
4444 < h2 class ="leadership-title{% if first_group.title %} compact{% endif %} "> {{ section.value.title }}</ h2 >
45- {% if first_group .description %}
46- < p class ="leadership-description "> {{ first_group .description }}</ p >
45+ {% if section.value .description %}
46+ < p class ="leadership-description "> {{ section.value .description }}</ p >
4747 {% endif %}
4848
4949 {% for group in section.value.leadership_group %}
Original file line number Diff line number Diff line change 8080 & .compact {
8181 border-bottom : 0 ;
8282 padding-bottom : 0 ;
83- margin-bottom : 0 ;
83+ margin-bottom : $spacing-sm ;
8484 }
8585}
8686
87+ .leadership-description {
88+ @include text-body-lg ;
89+ margin-top : 0 ;
90+ margin-bottom : $spacing-lg ;
91+ }
92+
93+ .group-description {
94+ @include text-body-md ;
95+ margin-top : 0 ;
96+ margin-bottom : $spacing-md ;
97+ }
98+
8799.leadership-section {
88100 scroll-margin-top : $layout-sm ;
89101
You can’t perform that action at this time.
0 commit comments