Skip to content

Commit

Permalink
Social Links: Fix block appender size (WordPress#65769)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jeryj <jeryj@git.wordpress.org>
  • Loading branch information
3 people authored Oct 1, 2024
1 parent e746a6c commit 58e7844
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 {
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 58e7844

Please sign in to comment.