fix(scss): link hover style

This commit is contained in:
Allen Guan 2022-03-11 05:01:03 +08:00
parent ebaa2b6487
commit d1ac61c8aa

View File

@ -11,7 +11,7 @@ a {
transition: all 0.3s ease;
&:hover {
box-shadow: 0px -10px 0px rgba(var(--link-background-color), var(--link-background-opacity-hover)) inset;
box-shadow: 0px calc(-1rem*var(--article-line-height)) 0px rgba(var(--link-background-color), var(--link-background-opacity-hover)) inset;
}
}
}