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
This commit is contained in:
Hop
2026-07-11 11:53:29 -07:00
parent a888e194d9
commit 1e01cd2882
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;