mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* docs: update doc * refactor: tooltip structure * chore: support arrow style * chore: legacy props * chore: part * chore: use transition * chore: tmp of it * docs: update demo * docs: update demo * chore: code back * chore: fix ts * chore: fix root css var * chore: fix loop deps * chore: ts defs * chore: fix ts def * test: fix setup * test: update snapshot * chore: adjust ver * chore: use new structrue * chore: fix deps * test: fix test * test: update snapshot * test: update snapshot * test: fix test * test: fix test * test: update snapshot * chore: adjust * chore: adjust * test: coverage * chore: adjust style * test: update snapshot * update snap --------- Co-authored-by: lijianan <574980606@qq.com> Co-authored-by: 遇见同学 <1875694521@qq.com>
579 B
579 B
zh-CN
结合 Tooltip 组件,实现一个数值输入框,方便内容超长时的全量展现。
en-US
You can use the Input in conjunction with Tooltip component to create a Numeric Input, which can provide a good experience for extra-long content display.
/* to prevent the arrow overflow the popup container,
or the height is not enough when content is empty */
.numeric-input .ant-tooltip-container {
min-width: 32px;
min-height: 37px;
}
.numeric-input .numeric-input-title {
font-size: 14px;
}