Adds border: inherit to shadow to fix issue when using with rounded corners.

This commit is contained in:
mrmrs 2017-08-11 23:24:01 +01:00
parent 75efedc67a
commit 4463824705

View file

@ -133,6 +133,7 @@
.shadow-hover::after {
content: '';
box-shadow: 0px 0px 16px 2px rgba( 0, 0, 0, .2 );
border-radius: inherit;
opacity: 0;
position: absolute;
top: 0;