Skip to content

Commit

Permalink
wrapping (#2268)
Browse files Browse the repository at this point in the history
  • Loading branch information
eselkin authored Sep 13, 2024
1 parent cfaea0d commit 6ecc046
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/site/assets/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
}
}

.break-word-wrap {
word-wrap: break-word;
}

.spotlight-card {
min-width: 30%;
word-wrap: break-word;
Expand Down Expand Up @@ -263,6 +267,7 @@
}
}
}

// fix for sidenav btn
.va-sidenav-btn-close {
background-size: 0.625rem 0.625rem;
Expand Down
4 changes: 2 additions & 2 deletions src/site/paragraphs/service_location.drupal.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% if typeOfLocation == "nonclinical" %}
<div>
<div class="break-word-wrap">
{% else %}
<va-card class="vads-u-margin-y--2">
<va-card class="vads-u-margin-y--2 break-word-wrap">
{% endif %}

{% assign serviceLocationH = serviceLocationSubHeaderLevel %}
Expand Down

0 comments on commit 6ecc046

Please sign in to comment.