Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CERN Components
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Web Team
Drupal
Public Drupal Repositories
Drupal 8
D8 Modules
CERN Components
Commits
3166515c
Commit
3166515c
authored
4 years ago
by
Konstantinos Platis
Browse files
Options
Downloads
Patches
Plain Diff
Fix Preview cards not getting background color when used in Landing Pages
parent
fa692364
No related branches found
No related tags found
1 merge request
!86
Merges version 2.7.2 into master
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-1
1 addition, 1 deletion
CHANGELOG.md
patterns/molecules/preview-card/preview-card.html.twig
+1
-1
1 addition, 1 deletion
patterns/molecules/preview-card/preview-card.html.twig
with
2 additions
and
2 deletions
CHANGELOG.md
+
1
−
1
View file @
3166515c
...
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
...
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [2.7.2]
## [2.7.2]
-
Fixed Related Card component not receiving correct colors when used in Landing Pages
-
Fixed Related
Card/Preview
Card component
s
not receiving correct colors when used in Landing Pages
## [2.7.1] - 25/05/2020
## [2.7.1] - 25/05/2020
...
...
This diff is collapsed.
Click to expand it.
patterns/molecules/preview-card/preview-card.html.twig
+
1
−
1
View file @
3166515c
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
{%
set
box_link
=
title
%}
{%
set
box_link
=
title
%}
{%
endif
%}
{%
endif
%}
<div
{{
attributes
}}
>
<div
{{
attributes
}}
{{
attributes_bgcolor
}}
>
<a
class=
"box-link"
target=
"
{{
box_link
|
render
|
get_tag_attribute
(
'a'
,
'target'
)
}}
"
href=
"
{{
box_link
|
render
|
get_tag_attribute
(
'a'
,
'href'
)
}}
"
></a>
<a
class=
"box-link"
target=
"
{{
box_link
|
render
|
get_tag_attribute
(
'a'
,
'target'
)
}}
"
href=
"
{{
box_link
|
render
|
get_tag_attribute
(
'a'
,
'href'
)
}}
"
></a>
{# Veil if there´s background image #}
{# Veil if there´s background image #}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment