From 2f2676bbf128b3db654ce6501cdf29cf92d092fd Mon Sep 17 00:00:00 2001 From: David Lapshin Date: Mon, 27 May 2024 00:05:38 +0300 Subject: [PATCH] Nesting huh? --- sass/_media.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sass/_media.scss b/sass/_media.scss index 8348b97..131c588 100644 --- a/sass/_media.scss +++ b/sass/_media.scss @@ -4,12 +4,12 @@ img { &:not(.no-hover, &[src*="#no-hover"]) { cursor: zoom-in; - } - &:not(.no-hover, &[src*="#no-hover"]):hover { - transform: scale(1.1); - box-shadow: var(--shadow-raised); - border-radius: 0; + &:hover { + transform: scale(1.1); + box-shadow: var(--shadow-raised); + border-radius: 0; + } } }