diff --git a/client/scss/components/_a11y-result.scss b/client/scss/components/_a11y-result.scss
index 10ac55ad37..4f729551b2 100644
--- a/client/scss/components/_a11y-result.scss
+++ b/client/scss/components/_a11y-result.scss
@@ -55,6 +55,7 @@
padding: theme('spacing.1');
gap: theme('spacing.[1.5]');
width: auto;
+ max-width: 100%;
}
&:hover,
@@ -73,6 +74,12 @@
}
}
+.w-a11y-result__selector-text {
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
.w-a11y-result__icon {
@apply w-transition hover:w-transform;
diff --git a/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html b/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html
index 176c4ac1c4..ba43047d0a 100644
--- a/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html
+++ b/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html
@@ -13,7 +13,7 @@
aria-label="{% trans 'Show issue' %}"
type="button"
>
-
+
{% icon name="link-external" classname="w-a11y-result__icon" %}