fix: restore compact sidepanel link controls

This commit is contained in:
QLHazyCoder
2026-05-29 14:33:44 +08:00
parent d2b915e65b
commit 1e12033f89
4 changed files with 29 additions and 17 deletions
+5 -1
View File
@@ -53,7 +53,11 @@ test('sidepanel html exposes header repo and releases entry points', () => {
assert.match(
html,
/id="btn-repo-home"[\s\S]*title="打开 GitHub 仓库"/
/id="link-repo-home"[\s\S]*class="header-repo-link"[\s\S]*title="打开 GitHub 仓库"/
);
assert.doesNotMatch(
html,
/id="link-repo-home"[^>]*\bbtn\b/
);
assert.match(
html,