From c1cb2e8330165b94292ce26a2f74327f694822bf Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 4 May 2016 17:01:06 +0800 Subject: fix badge issue on tabs --- src/navigation.less | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/navigation.less') diff --git a/src/navigation.less b/src/navigation.less index 1523327..7e1967b 100644 --- a/src/navigation.less +++ b/src/navigation.less @@ -68,6 +68,15 @@ .tab-item { flex: 1 0 auto; text-align: center; + + .badge { + &[data-badge]::after { + position: absolute; + right: 1.5rem; + top: .5rem; + transform: translate(50%, -.8rem); + } + } } } } -- cgit v1.3.1-26-gb76a