ant-design/components/tabs/demo/custom-tab-bar-node.md
daisy 86833b9768
demo(Tabs): tab size should not change when dragging (#43786)
* demo(Tabs): tab size should not change when dragging

* demo: update
2023-07-25 19:47:45 +08:00

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;
}
```