Automattic / Automattic/jetpack

Sharing: do not use !important to allow plugin and theme developers to overwrite default styles

Open
#1,922 4 comments 0 reactions 1 assignee Claimed by @crunnells View on GitHub
[Feature] Sharing [Pri] Normal [Status] Needs Design Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Jetpack's Sharing module includes quite a few `!important` in its CSS:
https://github.com/Automattic/jetpack/blob/master/modules/sharedaddy/sharing.css

We should avoid doing that if possible to allow plugin and theme developers to overwrite default styles.

Reported in #1500.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.