mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-30 11:19:44 -04:00
Merge pull request #4236 from alphagov/fix-whitespace-copy
Remove whitespace from copy to clipboard component
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{% endif %}
|
||||
<div data-module="copy-to-clipboard" data-value="{{ value }}" data-thing="{{ thing }}" data-name="{{ name }}">
|
||||
<span class="copy-to-clipboard__value">
|
||||
{% if name|lower != thing|lower %}<span class="govuk-visually-hidden">{{ thing }}: </span>{% endif %}{{ value }}
|
||||
{%- if name|lower != thing|lower %}<span class="govuk-visually-hidden">{{ thing }}: </span>{% endif %}{{ value -}}
|
||||
</span>
|
||||
<span class="copy-to-clipboard__notice" aria-live="assertive"></span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user