Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELA-751: Card. #550

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/compositions/bcl-listing/listing.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
{% set _alignment_class = ' align-self-' ~ _alignment %}
{% endif %}
{% set _card_classes = [] %}
{% set _card_attributes = card.attributes ? card.attributes : create_attribute() %}
{% set _card_title_attributes = card.title_attributes ? card.title_attributes : create_attribute() %}
{% set _card_attributes = _card.attributes ? _card.attributes : create_attribute() %}
{% set _card_title_attributes = _card.title_attributes ? _card.title_attributes : create_attribute() %}
{% set _card = _card|merge({
title_attributes: _card_title_attributes.addClass(['fs-5'])
}) %}
Expand Down
1 change: 1 addition & 0 deletions src/themes/default/src/scss/_card.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.card {
border-color: $gray-300;
overflow: hidden;
}

@each $color, $value in $theme-colors {
Expand Down
Loading