Summary Files Commits Branches @commit @diff @stats
path: root / src / buttons.less
diff options
context:
space:
mode:
Commitee309ce40db4bc0fb5b4ccc076a054dd9574ac5f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-12 01:04:04 +0800
Committer
 GitHub <noreply@github.com>
2017-03-12 01:04:04 +0800
Filesd6432eb1e5c029aab46fb24407631f012c634eef /src/buttons.less
Spectre-Dark-Gruvbox-ee309ce40db4bc0fb5b4ccc076a054dd9574ac5f.tar
Spectre-Dark-Gruvbox-ee309ce40db4bc0fb5b4ccc076a054dd9574ac5f.tar.gz
Spectre-Dark-Gruvbox-ee309ce40db4bc0fb5b4ccc076a054dd9574ac5f.zip
Parentb8401cd75408b96bedb1220b2f7019ea0bab7516 (diff)
Parent589c7d83189afc70baca5278c32cf0da94649148 (diff)
Merge pull request #165 from picturepan2/feature/0.2.9 v0.2.9
Feature/0.2.9
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;