Skip to content

Commit

Permalink
Fix excess theme styling on Social Links block links (#18410)
Browse files Browse the repository at this point in the history
* Ensure border, decoration or shadow does not effect social links

* Remove !important properties
  • Loading branch information
Rich Tabor authored and Tammie Lister committed Nov 11, 2019
1 parent 9163e14 commit fabfd5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/block-library/src/social-links/style.scss
Expand Up @@ -5,6 +5,14 @@
padding-right: 0;
// Some themes give all <ul> default margin instead of padding.
margin-left: 0;

// Some themes add underlines, false underlines (via shadows), and borders to <a>.
.wp-social-link a,
.wp-social-link a:hover {
text-decoration: none;
border-bottom: 0;
box-shadow: none;
}
}

.wp-social-link {
Expand Down

0 comments on commit fabfd5f

Please sign in to comment.