Skip to content

Commit

Permalink
Social Links: Fix block appender size
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 1, 2024
1 parent 40ceb00 commit a226c94
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions packages/block-library/src/social-links/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,10 @@
.wp-block-social-links .block-list-appender {
position: static; // display inline.

.block-editor-button-block-appender.components-button.components-button {
padding: $grid-unit-10 - 2px;
}
}

.wp-block-social-links {
&.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
.block-editor-button-block-appender.components-button {
height: 1.5em;
width: 1.5em;
font-size: inherit;
padding: 0;
}
&.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
padding: $grid-unit-20 - 2px;
}
&.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
padding: $grid-unit-30 - 1px;
}
}

0 comments on commit a226c94

Please sign in to comment.