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;
+1 -1
View File
@@ -1,4 +1,4 @@
<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/hop-home.css?v=4">
<link rel="icon" href="{{AssetUrlPrefix}}/img/hop.svg?v=3" type="image/svg+xml">
<link rel="alternate icon" href="{{AssetUrlPrefix}}/img/favicon.png?v=3" type="image/png">
<script src="{{AssetUrlPrefix}}/js/hop-native.js?v=5"></script>
<script src="{{AssetUrlPrefix}}/js/hop-native.js?v=6"></script>