diff options
feat(enhancement): support for any type of elements (e.g. <a>) in button groups
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | src/buttons.less | 6 |
diff --git a/src/buttons.less b/src/buttons.less index 5e6fcb8..56f52d1 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -151,15 +151,15 @@ .btn { flex: 1 0 auto; - &:first-of-type:not(:last-of-type) { + &:first-child:not(:last-child) { border-bottom-right-radius: 0; border-top-right-radius: 0; } - &:not(:first-of-type):not(:last-of-type) { + &:not(:first-child):not(:last-child) { border-radius: 0; margin-left: -.1rem; } - &:last-of-type:not(:first-of-type) { + &:last-child:not(:first-child) { border-bottom-left-radius: 0; border-top-left-radius: 0; margin-left: -.1rem; |