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 {
content: " ";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
opacity: 0;
background-color: $black;
border-radius: inherit; /* inherit parent's border radius */