Skip to content

Commit

Permalink
wrap title text in shallow section
Browse files Browse the repository at this point in the history
per @lyubomir-popov design review
  • Loading branch information
jmuzina committed Jan 28, 2025
1 parent a073e0c commit bf69c70
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/_macros/vf_rich-horizontal-list.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
<div class="grid-row">
{#- If there is a description, split the title and description. Otherwise, the title spans full width. -#}
<div class="grid-col-4{% if has_description %} grid-col-medium-2{% endif %}">
<h2>{{- title_text -}}</h2>
<div class="p-section--shallow">
<h2>{{- title_text -}}</h2>
</div>
</div>
{%- if has_description %}
<div class="grid-col-4 grid-col-medium-2">
Expand Down Expand Up @@ -118,7 +120,9 @@
</div>
{#- Full-width layout -#}
{%- else %}
<h2>{{- title_text -}}</h2>
<div class="p-section--shallow">
<h2>{{- title_text -}}</h2>
</div>
{%- if has_logo_section %}
<div class="grid-col-8 grid-col-order-small-2">
{{- logo_section_content -}}
Expand Down

0 comments on commit bf69c70

Please sign in to comment.