Skip to content

Commit

Permalink
Merge pull request arco-design#2606 from arco-design/fix/input-autowidth
Browse files Browse the repository at this point in the history
fix: input autowidth fix
  • Loading branch information
flsion authored Mar 21, 2024
2 parents d510d23 + 22e200d commit 4407b57
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/Input/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
&-autowidth {
overflow: hidden;
text-overflow: ellipsis;
flex: 1;

&:hover {
text-overflow: unset;
}
}

// 禁用样式
Expand Down Expand Up @@ -223,6 +228,10 @@
overflow: hidden;
text-overflow: ellipsis;
flex: 1;

&:hover {
text-overflow: unset;
}
}
}

Expand Down

0 comments on commit 4407b57

Please sign in to comment.