Permalink
Browse files

Fix Timeline dot not working with Tooltip, close #11250

  • Loading branch information...
afc163 committed Jul 12, 2018
1 parent 44ea5b2 commit 0e3b67e9999d867cc304f3be61a8a042a2ab92ee
Showing with 4 additions and 4 deletions.
  1. +2 −2 components/timeline/demo/custom.md
  2. +2 −2 components/timeline/style/index.less
@@ -1,6 +1,6 @@
---
order: 4
title:
title:
zh-CN: 自定义时间轴点
en-US: Custom
---
@@ -9,7 +9,7 @@ title:

可以设置为图标或其他自定义元素。

## en-US
## en-US

Set a node as an icon or other custom element.

@@ -65,13 +65,13 @@
border-radius: 0;
padding: 3px 1px;
transform: translate(-50%, -50%);
top: 5px;
top: 5.5px;
left: 5px;
width: auto;
}

&-content {
padding: 0 0 0 18px;
margin: 0 0 0 18px;
position: relative;
top: -(@font-size-base * @line-height-base - @font-size-base) + 1px;
}

0 comments on commit 0e3b67e

Please sign in to comment.