fix(style): apply svg container margin only in desktop view (#26894)
diff --git a/erpnext/public/scss/hierarchy_chart.scss b/erpnext/public/scss/hierarchy_chart.scss
index 7f1077d..8a1ec49 100644
--- a/erpnext/public/scss/hierarchy_chart.scss
+++ b/erpnext/public/scss/hierarchy_chart.scss
@@ -188,6 +188,10 @@
// horizontal hierarchy tree view
#hierarchy-chart-wrapper {
padding-top: 30px;
+
+ #arrows {
+ margin-top: -80px;
+ }
}
.hierarchy {
@@ -211,7 +215,6 @@
#arrows {
position: absolute;
overflow: visible;
- margin-top: -80px;
}
.active-connector {