Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bootstrap_barrio
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bootstrap_barrio
Merge requests
!3
Issue
#3186647
: Support horizontal card
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue #3186647: Support horizontal card
Yusuf Hasan Miyan
requested to merge
issue/bootstrap_barrio-3186647:3186647-support-horizontal-card
into
5.x
Dec 5, 2020
Overview
0
Commits
1
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
5.x
5.x (HEAD)
and
latest version
latest version
39bb570e
1 commit,
Dec 5, 2020
2 files
+
42
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
layouts/card-horizontal.html.twig
0 → 100644
+
29
−
0
View file @ a7e638e7
Edit in single-file editor
Open in Web IDE
{#
/**
* @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