From f54876376f6906fe808687f22eeb7fdab4275ed4 Mon Sep 17 00:00:00 2001 From: seltzdesign Date: Tue, 30 Jun 2026 00:34:52 +0200 Subject: [PATCH] fix(tree-view-table-layout): point the collapsed-row chevron right, not left The expand_more icon points down; the .children-collapsed state rotated it +90deg (clockwise), which points it LEFT. Collapsed nodes should point RIGHT (the universal 'expand me' affordance). Use rotate(-90deg) so it points right; expanding rotates it back down toward the revealed children. --- packages/tree-view-table-layout/src/components/table-row.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/tree-view-table-layout/src/components/table-row.vue b/packages/tree-view-table-layout/src/components/table-row.vue index 1c4e7f11..920c491d 100644 --- a/packages/tree-view-table-layout/src/components/table-row.vue +++ b/packages/tree-view-table-layout/src/components/table-row.vue @@ -262,7 +262,9 @@ function usePreventClickAfterDragging({ mouseDownHandler, clickHandler }) { &.children-collapsed { --v-icon-color: var(--theme--foreground); - transform: rotate(90deg); + /* expand_more points down; collapsed must point RIGHT (the universal "expand me"), + so rotate -90deg (CCW). +90 would point it left, which reads backwards. */ + transform: rotate(-90deg); } }