mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
Fix Timeline dot not working with Tooltip, close #11250
This commit is contained in:
parent
44ea5b2998
commit
0e3b67e999
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
order: 4
|
order: 4
|
||||||
title:
|
title:
|
||||||
zh-CN: 自定义时间轴点
|
zh-CN: 自定义时间轴点
|
||||||
en-US: Custom
|
en-US: Custom
|
||||||
---
|
---
|
||||||
@ -9,7 +9,7 @@ title:
|
|||||||
|
|
||||||
可以设置为图标或其他自定义元素。
|
可以设置为图标或其他自定义元素。
|
||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
Set a node as an icon or other custom element.
|
Set a node as an icon or other custom element.
|
||||||
|
|
||||||
|
@ -65,13 +65,13 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding: 3px 1px;
|
padding: 3px 1px;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
top: 5px;
|
top: 5.5px;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-content {
|
&-content {
|
||||||
padding: 0 0 0 18px;
|
margin: 0 0 0 18px;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -(@font-size-base * @line-height-base - @font-size-base) + 1px;
|
top: -(@font-size-base * @line-height-base - @font-size-base) + 1px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user