Skip to content

Commit 84d58ed

Browse files
authored
fix(tree): [tree] elevate the priority #3119 (#3284)
* fix: modify issue of problem #3119 * fix: modify bug
1 parent 1e3d409 commit 84d58ed

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/theme/src/tree/index.less

+5-3
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,11 @@
367367
fill: var(--tv-Tree-node-checked-icon-color);
368368
}
369369
}
370-
input {
371-
height: calc(var(--tv-Tree-node-content-height) - 2px);
372-
font-size: var(--tv-Tree-node-label-font-size);
370+
.@{tree-node-prefix-cls}__edit-input {
371+
input {
372+
height: calc(var(--tv-Tree-node-content-height) - 2px);
373+
font-size: var(--tv-Tree-node-label-font-size);
374+
}
373375
}
374376
}
375377

packages/vue/src/tree/src/tree-node.vue

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
<template v-if="action.type === 'edit' && action.node && action.node === node">
122122
<tiny-input
123123
v-model="action.label"
124+
class="tiny-tree-node__edit-input"
124125
ref="editInput"
125126
:autofocus="true"
126127
clearable

0 commit comments

Comments
 (0)