diff --git a/src/pages/trending.css b/src/pages/trending.css index 992305c5..31b0ed8c 100644 --- a/src/pages/trending.css +++ b/src/pages/trending.css @@ -108,10 +108,6 @@ ); transition: background-position-y 0.15s ease-out; - &:is(:hover, :focus-visible) { - background-position-y: -40px; - } - figure { flex-grow: 1; margin: 0 0 -16px; @@ -148,6 +144,10 @@ } } + &:is(:hover, :focus-visible) article { + background-position-y: -40px; + } + .article-body { padding: 0 8px 8px; line-height: 1.3;