fix: keep metric catalog above table header
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user