diff --git a/routers/web/devtest/mock_actions.go b/routers/web/devtest/mock_actions.go index 278d709c09e..159409d4b9c 100644 --- a/routers/web/devtest/mock_actions.go +++ b/routers/web/devtest/mock_actions.go @@ -280,7 +280,7 @@ func MockActionsRunsJobs(ctx *context.Context) { {jobID: "arch-test", name: "arch-test", status: actions_model.StatusSuccess, duration: "3s", needs: []string{"prep-jdk"}}, {jobID: "integration-test", name: "integration-test", status: actions_model.StatusSuccess, duration: "4s", needs: []string{"prep-jdk"}}, - {jobID: "build-image", name: "build-image", status: actions_model.StatusSuccess, duration: "3s", needs: []string{ + {jobID: "build-image", name: "build-image with a very long name that does not fit into the sidebar", status: actions_model.StatusSuccess, duration: "3s", needs: []string{ "unit-test", "arch-test", "integration-test", diff --git a/web_src/js/components/ActionStatusIcon.vue b/web_src/js/components/ActionStatusIcon.vue index e5f42a5ab57..90d72131785 100644 --- a/web_src/js/components/ActionStatusIcon.vue +++ b/web_src/js/components/ActionStatusIcon.vue @@ -28,7 +28,5 @@ const iconClass = computed(() => { diff --git a/web_src/js/modules/tippy.ts b/web_src/js/modules/tippy.ts index a7df1c0485c..948c07243b7 100644 --- a/web_src/js/modules/tippy.ts +++ b/web_src/js/modules/tippy.ts @@ -133,6 +133,7 @@ function attachLazyTooltip(el: HTMLElement): void { let ariaLabelValue = content; if (isHtml) ariaLabelValue = stripTags(content).replace(/\s+/g, ' ').trim(); el.setAttribute('aria-label', ariaLabelValue); + el.removeAttribute('aria-hidden'); } } }