Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitd9b4f7b032f058edf7ee1b2964f1b624df2fff5c (patch)
Author
 yehor.sergeenko <yehor.sergeenko@gmail.com>
2017-03-11 14:26:11 +0100
Committer
 yehor.sergeenko <yehor.sergeenko@gmail.com>
2017-03-11 14:26:11 +0100
Files2ac1d50a916a06d18fe82293367e43dffd496715 /src
Spectre-Dark-Gruvbox-d9b4f7b032f058edf7ee1b2964f1b624df2fff5c.tar
Spectre-Dark-Gruvbox-d9b4f7b032f058edf7ee1b2964f1b624df2fff5c.tar.gz
Spectre-Dark-Gruvbox-d9b4f7b032f058edf7ee1b2964f1b624df2fff5c.zip
Parentb8401cd75408b96bedb1220b2f7019ea0bab7516 (diff)
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.less6
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;