diff --git a/src/content/market/plugin-toolbar.ts b/src/content/market/plugin-toolbar.ts index cfaa64e..ae83b1b 100644 --- a/src/content/market/plugin-toolbar.ts +++ b/src/content/market/plugin-toolbar.ts @@ -1241,7 +1241,7 @@ function applyMetricCatalogPanelStyles(panel: HTMLElement): void { panel.style.position = "absolute"; panel.style.top = "calc(100% + 6px)"; panel.style.left = "0"; - panel.style.zIndex = "4"; + panel.style.zIndex = "100"; panel.style.width = "260px"; panel.style.padding = "10px"; panel.style.border = "1px solid #cbd5e1"; diff --git a/tests/market-content-entry.test.ts b/tests/market-content-entry.test.ts index 3778ef3..6ba2b53 100644 --- a/tests/market-content-entry.test.ts +++ b/tests/market-content-entry.test.ts @@ -1550,6 +1550,7 @@ describe("market-content-entry", () => { ) as HTMLInputElement | null; expect(catalogPanel?.hidden).toBe(true); + expect(catalogPanel?.style.zIndex).toBe("100"); expect(finishRule?.hidden).toBe(false); expect(interactionRule?.hidden).toBe(true); expect(interactionRule?.style.display).toBe("none");