fix button actived had 1px blank

This commit is contained in:
ZWkang 2017-09-27 16:54:44 +08:00
parent ae2c2dbe32
commit 771bd7eba2

View File

@ -15,10 +15,10 @@
&::before { &::before {
content: " "; content: " ";
position: absolute; position: absolute;
top: 0; top: -1px;
left: 0; left: -1px;
right: 0; right: -1px;
bottom: 0; bottom: -1px;
opacity: 0; opacity: 0;
background-color: $black; background-color: $black;
border-radius: inherit; /* inherit parent's border radius */ border-radius: inherit; /* inherit parent's border radius */