Skip to content

Commit

Permalink
Sharing: improve the display of the official X button (#33474)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve authored Oct 10, 2023
1 parent 4afbe20 commit b1b1562
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Shairng: improve the display of the official X button.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
! $( this ).hasClass( 'preview-reddit' ) &&
! $( this ).hasClass( 'preview-telegram' ) &&
! $( this ).hasClass( 'preview-jetpack-whatsapp' ) &&
! $( this ).hasClass( 'preview-x' ) &&
! $( this ).hasClass( 'share-custom' ) &&
! $( this ).hasClass( 'share-deprecated' )
) {
Expand Down
3 changes: 2 additions & 1 deletion projects/plugins/jetpack/modules/sharedaddy/sharing.css
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ body .sd-content ul li.share-custom.no-icon a span {
.sd-social-icon .sd-content ul li.share-x a:before,
.sd-social-text .sd-content ul li.share-x a:before,
.sd-content ul li.share-x div.option.option-smart-off a:before,
.sd-social-icon-text .sd-content li.share-x a:before {
.sd-social-icon-text .sd-content li.share-x a:before,
.sd-social-official .sd-content li.share-x a:before {
content: '\f10e';
}
.sd-social-icon .sd-content ul li.share-reddit a:before,
Expand Down

0 comments on commit b1b1562

Please sign in to comment.