Simplify border-related rules for like/unlike icons
We were keeping the same style and width when they were pressed, so we can simply overwrite the color.
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
&:active,
|
&:active,
|
||||||
&[aria-pressed=true] {
|
&[aria-pressed=true] {
|
||||||
background: $like;
|
background: $like;
|
||||||
border: 2px solid $like;
|
border-color: $like;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
&:active,
|
&:active,
|
||||||
&[aria-pressed=true] {
|
&[aria-pressed=true] {
|
||||||
background: $unlike;
|
background: $unlike;
|
||||||
border: 2px solid $unlike;
|
border-color: $unlike;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user