Skip to content

Commit

Permalink
Sharing Block: remove extra margin added to first button
Browse files Browse the repository at this point in the history
See #36382

We should not add any margin before the first button, to avoid alignment issues with other blocks.
  • Loading branch information
jeherve committed Mar 14, 2024
1 parent b3c073e commit 1d4289d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

Sharing Block: remove extra margin previously added to the first button.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ a.jetpack-sharing-button__button {
flex-direction: row;
flex-wrap: wrap;
gap: 5px;

&:first-child {
.jetpack-sharing-button__button {
margin-inline-start: 0px;
}
}
}

.style-icon-text .jetpack-sharing-button__service-label {
Expand Down

0 comments on commit 1d4289d

Please sign in to comment.