Skip to content
Snippets Groups Projects

Issue #3186647: Support horizontal card

2 files
+ 42
0
Compare changes
  • Side-by-side
  • Inline

Files

{#
/**
* @file
* Default theme implementation for a card header footer layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('card', 'clearfix') }}>
<div class="row g-0">
<div{{ region_attributes.first.addClass('col-md-4') }}>
{{ content.first }}
</div>
<div{{ region_attributes.second.addClass('col-md-8') }}>
<div class="card-body">
{{ content.second }}
</div>
</div>
</div>
</div>
Loading