From 7fe8f7453d70eb21f304413f95b1942fe206fc75 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 5 Apr 2016 19:37:12 +0800 Subject: update tooltips code and examples --- src/tooltips.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tooltips.less') diff --git a/src/tooltips.less b/src/tooltips.less index 4d0f680..1ccc98b 100644 --- a/src/tooltips.less +++ b/src/tooltips.less @@ -30,7 +30,7 @@ } } - &[data-tooltip-pos="right"] { + &.tooltip-right { &::after { bottom: 50%; left: 100%; @@ -42,7 +42,7 @@ } } } - &[data-tooltip-pos="bottom"] { + &.tooltip-bottom { &::after { top: 100%; bottom: auto; @@ -54,7 +54,7 @@ } } } - &[data-tooltip-pos="left"] { + &.tooltip-left { &::after { right: 100%; bottom: 50%; -- cgit v1.3.1-23-gd82d