-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(STN-804): caption credit views hotfix (#907)
- Loading branch information
KelbelR
authored
Jun 25, 2021
1 parent
d733a5a
commit 353c52b
Showing
6 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,3 +311,7 @@ | |
z-index: $hb-z-index-small-1; | ||
} | ||
} | ||
|
||
@mixin hb-relative { | ||
position: relative; | ||
} |
17 changes: 17 additions & 0 deletions
17
docroot/themes/humsci/humsci_basic/templates/field/media--caption-credit.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{# | ||
/** | ||
* This Caption Credit template overrides the standard media.html.twig file in Stable theme. | ||
*/ | ||
#} | ||
{% | ||
set classes = [ | ||
'hb-caption-credit-image', | ||
] | ||
%} | ||
|
||
<article{{ attributes.addClass(classes) }}> | ||
{{ title_suffix.contextual_links }} | ||
{% if content %} | ||
{{ content }} | ||
{% endif %} | ||
</article> |
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
docroot/themes/humsci/humsci_traditional/css/humsci_traditional.css
Large diffs are not rendered by default.
Oops, something went wrong.