Simplify styles for SSB icons
By using the same selector used by the social-share-button gem, we can remove all the !important rules.
This commit is contained in:
@@ -1569,18 +1569,15 @@ table {
|
||||
}
|
||||
}
|
||||
|
||||
.ssb-facebook,
|
||||
.ssb-telegram,
|
||||
.ssb-twitter,
|
||||
.ssb-whatsapp_app {
|
||||
background-image: none !important;
|
||||
.social-share-button .ssb-icon {
|
||||
background-image: none;
|
||||
color: #fff;
|
||||
height: $icon-width !important;
|
||||
height: $icon-width;
|
||||
position: relative;
|
||||
width: $icon-width !important;
|
||||
width: $icon-width;
|
||||
|
||||
&::before {
|
||||
font-family: "icons" !important;
|
||||
font-family: "icons";
|
||||
font-size: rem-calc(24);
|
||||
left: 50%;
|
||||
line-height: $line-height * 2;
|
||||
|
||||
@@ -1118,8 +1118,7 @@
|
||||
.ssb-facebook {
|
||||
background: none;
|
||||
color: $text;
|
||||
height: rem-calc(33) !important;
|
||||
|
||||
height: rem-calc(33);
|
||||
|
||||
&::before {
|
||||
font-size: rem-calc(18);
|
||||
|
||||
Reference in New Issue
Block a user