From 1e01cd28824e70bb30cad13e2e7250fac4747b13 Mon Sep 17 00:00:00 2001 From: Hop Date: Sat, 11 Jul 2026 11:53:29 -0700 Subject: [PATCH] Keep renamed repository tabs sized to their visible Hop labels Hop-State: A_06FN51R8W61WPV08RNCWWY0 Hop-Proposal: R_06FN51Q35KB8HFMD6BSJF08 Hop-Task: T_06FN50V05VH5V9WE9QQF9KR Hop-Attempt: AT_06FN50V05RGZYCX0EKTK6Q0 --- deploy/gitea/public/assets/js/hop-native.js | 4 ++-- deploy/gitea/templates/custom/footer.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/gitea/public/assets/js/hop-native.js b/deploy/gitea/public/assets/js/hop-native.js index c5bb5ba..eed0821 100644 --- a/deploy/gitea/public/assets/js/hop-native.js +++ b/deploy/gitea/public/assets/js/hop-native.js @@ -66,8 +66,8 @@ } function replaceAccessibleLabels(root) { - const attributes = ['aria-label', 'data-tooltip-content', 'placeholder', 'title']; - for (const element of root.querySelectorAll('[aria-label], [data-tooltip-content], [placeholder], [title]')) { + const attributes = ['aria-label', 'data-text', 'data-tooltip-content', 'placeholder', 'title']; + for (const element of root.querySelectorAll('[aria-label], [data-text], [data-tooltip-content], [placeholder], [title]')) { for (const attribute of attributes) { const value = element.getAttribute(attribute); if (!value) continue; diff --git a/deploy/gitea/templates/custom/footer.tmpl b/deploy/gitea/templates/custom/footer.tmpl index 78151ac..689636c 100644 --- a/deploy/gitea/templates/custom/footer.tmpl +++ b/deploy/gitea/templates/custom/footer.tmpl @@ -1,4 +1,4 @@ - +