Skip to content

Commit

Permalink
Merge pull request #38 from CuBoulder/issue/897
Browse files Browse the repository at this point in the history
Update layout--two-column.html.twig
  • Loading branch information
jcsparks authored Apr 26, 2024
2 parents 61c3dd0 + e1601cb commit 15338ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/two-column/layout--two-column.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
<div class="ucb-boostrap-layout-section ucb-bootstrap-layout__background-color--{{ settings.background_color }} {{ row_overlay_settings }} {{ row_background_effect }}" style="{{ settings.background_image_styles }}">
<div class="container">
<div {{attributes.addClass(row_classes, frame_classes|join(' '))}}>
{% if content.first %}
<div {{ region_attributes.first.addClass('column', 'col-lg-' ~ column_widths.0, 'column--first', 'col-12') }}>
{% if (content.first) and (content.first|render|striptags|trim != "") %}
<div {{ region_attributes.first.addClass('column', 'col-lg-' ~ column_widths.0, 'column--first', 'col-12', 'flex-grow-1') }}>
{{ content.first }}
</div>
{% endif %}
{% if content.second %}
<div {{ region_attributes.second.addClass('column', 'col-lg-' ~ column_widths.1, 'column--second', 'col-12') }}>
{% if (content.second) and (content.second|render|striptags|trim != "") %}
<div {{ region_attributes.second.addClass('column', 'col-lg-' ~ column_widths.1, 'column--second', 'col-12', 'flex-grow-1') }}>
{{ content.second }}
</div>
{% endif %}
Expand Down

0 comments on commit 15338ce

Please sign in to comment.