@steedos-widgets/amis-object 6.10.52-beta.21 → 6.10.52-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1537,13 +1537,13 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1537
1537
 
1538
1538
  .approval-tree-menu {
1539
1539
  width: 100%;
1540
- height: 100%;
1541
- overflow-y: auto;
1542
- overflow-x: hidden;
1540
+ overflow: visible;
1543
1541
  background: #fff;
1544
1542
  -webkit-user-select: none;
1545
1543
  -moz-user-select: none;
1546
1544
  user-select: none;
1545
+ padding: 4px 0;
1546
+ min-height: 100%;
1547
1547
  }
1548
1548
 
1549
1549
  .approval-tree-menu::-webkit-scrollbar {
@@ -1568,17 +1568,22 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1568
1568
 
1569
1569
  /* Fix 1: 整行 hover 高亮 */
1570
1570
  .approval-tree-menu .ant-tree .ant-tree-treenode {
1571
- width: 100%;
1571
+ width: auto;
1572
+ margin: 1px 0px;
1573
+ padding: 0 4px;
1572
1574
  transition: background 0.15s ease;
1575
+ border-radius: 6px;
1573
1576
  }
1574
1577
 
1575
1578
  .approval-tree-menu .ant-tree .ant-tree-treenode:hover {
1576
1579
  background: #f0f5ff;
1580
+ border-radius: 6px;
1577
1581
  }
1578
1582
 
1579
1583
  /* Fix 1: 整行选中高亮 */
1580
1584
  .approval-tree-menu .ant-tree .ant-tree-treenode.ant-tree-treenode-selected {
1581
1585
  background: #e6f4ff;
1586
+ border-radius: 6px;
1582
1587
  }
1583
1588
 
1584
1589
  /* 内容区域:由 treenode 提供背景,自身透明 */
@@ -1587,8 +1592,8 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1587
1592
  align-items: center;
1588
1593
  padding: 0 4px;
1589
1594
  border-radius: 4px;
1590
- height: 36px;
1591
- line-height: 36px;
1595
+ height: 40px;
1596
+ line-height: 40px;
1592
1597
  background: transparent !important;
1593
1598
  }
1594
1599
 
@@ -1630,10 +1635,11 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1630
1635
  align-items: center;
1631
1636
  justify-content: center;
1632
1637
  color: #bbb;
1633
- width: 20px;
1634
- height: 36px;
1638
+ width: 16px;
1639
+ height: 40px;
1635
1640
  flex-shrink: 0;
1636
1641
  line-height: 1;
1642
+ margin-right: 0;
1637
1643
  }
1638
1644
 
1639
1645
  .approval-tree-menu .ant-tree .ant-tree-switcher .fa {
@@ -1649,6 +1655,13 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
1649
1655
  background-color: transparent !important;
1650
1656
  }
1651
1657
 
1658
+ /* 叶子节点不需要折叠箭头占位,缩小 switcher 宽度 */
1659
+ .approval-tree-menu .ant-tree .ant-tree-switcher-noop {
1660
+ width: 0px;
1661
+ min-width: 0px;
1662
+ flex-shrink: 0;
1663
+ }
1664
+
1652
1665
  /* 叶子节点图标颜色 */
1653
1666
  .approval-tree-menu .ant-tree .ant-tree-treenode-leaf .ant-tree-iconEle {
1654
1667
  color: #888;