From cdaa2cd708311a771f1f2d966eee4c4f5013e33f Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 24 Feb 2017 15:43:05 +0800 Subject: CHG: Lots of good fixes --- src/tabs.less | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/tabs.less') diff --git a/src/tabs.less b/src/tabs.less index ea005bb..ea38709 100644 --- a/src/tabs.less +++ b/src/tabs.less @@ -1,5 +1,6 @@ // Tabs .tab { + align-items: center; border-bottom: .1rem solid @core-border-color; display: flex; flex-wrap: wrap; @@ -7,18 +8,26 @@ .tab-item { margin-top: 0; + &.tab-action { + flex: 1 0 auto; + text-align: right; + } + a { border-bottom: .2rem solid transparent; color: @body-font-color; display: block; margin-bottom: -.1rem; margin-top: 0; - padding: .8rem 1rem; + padding: .6rem .8rem; text-decoration: none; &:focus, &:hover { color: @core-link-color; } + &.badge { + padding-right: 0; + } } &.active a, a.active { -- cgit v1.3.1-23-gd82d