From 227f72745fbf2000b120b7e872d0b51840ff733e Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 27 Dec 2022 10:37:20 -0800 Subject: [PATCH] Fix a stray background: property We use background-image specifically so it doesn't overwrite background-size --- components/UncapStar/index.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/components/UncapStar/index.scss b/components/UncapStar/index.scss index bfede91a..eb1cc882 100644 --- a/components/UncapStar/index.scss +++ b/components/UncapStar/index.scss @@ -1,16 +1,13 @@ .UncapStar { $size: 18px; - background-repeat: no-repeat; background-size: $size; display: block; height: $size; width: $size; - @media (min-width: $laptop) { - &:hover { - transform: scale(1.2); - } + &:hover { + transform: scale(1.2); } &.empty, @@ -45,7 +42,7 @@ background-image: url('/icons/uncap/blue@3x.png'); &:hover { - background: url('/icons/uncap/blue-hover@3x.png'); + background-image: url('/icons/uncap/blue-hover@3x.png'); } } @@ -64,5 +61,9 @@ background-size: cover; height: 14px; width: 14px; + + &:hover { + transform: scale(1); + } } }