Skip to content

armgit / core

Public Imported from GitHub
0

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

UI bugfix: or-asset-tree hitbox Improvements (#1285)

Martin Peeters082f43c18dac
diff --git a/ui/component/or-asset-tree/src/style.ts b/ui/component/or-asset-tree/src/style.ts
index c57c2137f..8caea5ace 100644
--- a/ui/component/or-asset-tree/src/style.ts
+++ b/ui/component/or-asset-tree/src/style.ts
@@ -125,11 +125,15 @@ export const style = css`
}
.in-between-element {
- height: 3px;
+ position: relative;
+ height: 2px;
+ }
+ .in-between-element.over {
+ padding: 5px 0;
+ margin: -5px 0;
}
-
.end-element {
- height: 15px;
+ height: 44px;
}
.node-container {