From 511901769028345380c6b2ad266832fb7a256c9d Mon Sep 17 00:00:00 2001 From: Stefano Bartoletti Date: Fri, 3 Nov 2023 10:14:52 +0100 Subject: [PATCH] fix: lower css specificity to allow style override --- src/runtime/components/SocialShare.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/SocialShare.vue b/src/runtime/components/SocialShare.vue index 8834c5f..3b9dd06 100644 --- a/src/runtime/components/SocialShare.vue +++ b/src/runtime/components/SocialShare.vue @@ -103,7 +103,7 @@ $networks: transition: all 0.25s ease-out; @each $name, $color in $networks { - &.social-share-button--#{$name} { + &:where(.social-share-button--#{$name}) { background-color: $color; &:hover { @@ -112,7 +112,7 @@ $networks: } } - .social-share-button__label { + :where(.social-share-button__label) { padding: 0 0.5rem; } }