Skip to content

Commit

Permalink
Fix to breadcrumb padding on certain drupal pages. (#2241)
Browse files Browse the repository at this point in the history
* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div
  • Loading branch information
Andrew565 authored Aug 21, 2024
1 parent 3abda5d commit 2dba5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/site/includes/breadcrumbs.drupal.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="va-nav-breadcrumbs" data-template="includes/breadcrumbs">
<div class="vads-u-padding-x--1p5" data-template="includes/breadcrumbs">
{% assign crumbs = entityUrl.breadcrumb %}

{% if deriveBreadcrumbsFromUrl == true %}
Expand All @@ -11,7 +11,7 @@

{% assign crumbs = crumbs | formatForBreadcrumbs: title, entityUrl.path, hideHomeBreadcrumb, customHomeCrumbText %}

<va-breadcrumbs class="row va-nav-breadcrumbs-list columns" wrapping />
<va-breadcrumbs class="row" wrapping />

<script>
const bcComponent = document.querySelector('va-breadcrumbs');
Expand Down

0 comments on commit 2dba5ac

Please sign in to comment.