From 40879a53fdfcea871af4f0cd16060391b9994772 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 31 Dec 2016 19:18:56 +0800 Subject: ADD: New dropdown menu component --- src/buttons.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buttons.less') diff --git a/src/buttons.less b/src/buttons.less index a21566b..260665a 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -135,15 +135,15 @@ .btn { flex: 1 0 auto; - &:first-child:not(:last-child) { + &:first-of-type:not(:last-of-type) { border-bottom-right-radius: 0; border-top-right-radius: 0; } - &:not(:first-child):not(:last-child) { + &:not(:first-of-type):not(:last-of-type) { border-radius: 0; margin-left: -.1rem; } - &:last-child:not(:first-child) { + &:last-of-type:not(:first-of-type) { border-bottom-left-radius: 0; border-top-left-radius: 0; margin-left: -.1rem; -- cgit v1.3.1-23-gd82d