Skip to content

Commit

Permalink
Merge pull request #35 from wri/sass-bullet-fix
Browse files Browse the repository at this point in the history
Sass bullet fix
  • Loading branch information
mariacha authored Dec 8, 2021
2 parents f2a94f1 + d0796c9 commit 2229de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/wri_narrative/components/wri_narrative_tax.sfc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

$prepareContext = function(&$context) {
// If this is the homepage display.
if (isset($context["content"]["main_content"]["field_listing"][0]) && $context["content"]["main_content"]["field_listing"][0]["#display_id"] == 'cards') {
if (isset($context["content"]["main_content"]["field_listing"][0]) && $context["content"]["main_content"]["field_listing"][0]["#display_id"] == 'cards' && !empty(\Drupal::hasService('wri_filter.filter'))) {
// Check for an applied content filter.
$current_filter = \Drupal::service('wri_filter.filter')->getCurrentFilter(TRUE);
// If filter is found set value to narrative tax field from landing page node.
Expand Down
2 changes: 1 addition & 1 deletion themes/custom/ts_wrin/sass/global/_wysiwyg.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.main-content,
.main-content .text-formatted,
.cke_editable_themed,
.paragraph--type--side-by-side .text-formatted {
line-height: 1.5;
Expand Down

0 comments on commit 2229de0

Please sign in to comment.