color fix inside button #1882

This commit is contained in:
afc163 2016-05-28 15:47:02 +08:00
parent 4b00e05cfb
commit 7cb1fb02b8

View File

@ -35,6 +35,20 @@
color: @color;
background-color: @background;
border-color: @border;
// a inside Button which only work in Chrome
// http://stackoverflow.com/a/17253457
> a:only-child {
color: currentColor;
&:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent;
}
}
}
.button-group-base(@btnClassName) {