mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
86833b9768
* demo(Tabs): tab size should not change when dragging * demo: update
15 lines
317 B
Markdown
15 lines
317 B
Markdown
## zh-CN
|
|
|
|
使用 [dnd-kit](https://github.com/clauderic/dnd-kit) 实现标签可拖拽。
|
|
|
|
## en-US
|
|
|
|
Use [dnd-kit](https://github.com/clauderic/dnd-kit) to make tabs draggable.
|
|
|
|
```css
|
|
/* set transition to none when type="editable-card" */
|
|
.ant-tabs-editable > .ant-tabs-nav .ant-tabs-tab {
|
|
transition: none;
|
|
}
|
|
```
|