Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix geojson editor behind rule tree (#2446)

Koen76750d47f47d
diff --git a/ui/component/or-rules/src/index.ts b/ui/component/or-rules/src/index.ts
index 1ebf4dee7..07a7bcaff 100644
--- a/ui/component/or-rules/src/index.ts
+++ b/ui/component/or-rules/src/index.ts
@@ -806,17 +806,13 @@ export const style = css`
or-rule-tree {
min-width: 300px;
width: 300px;
- z-index: 2;
+ z-index: 1;
display: flex;
flex-direction: column;
background-color: var(--internal-or-rules-panel-color);
color: var(--internal-or-rules-list-text-color);
box-shadow: ${unsafeCSS(DefaultBoxShadow)};
}
-
- or-rule-viewer, or-rule-group-viewer {
- z-index: 1;
- }
`;
@customElement("or-rules")