Skip to content

Commit 2fe6da8

Browse files
authored
Revert "Social Links: Fix block appender size (WordPress#65769)"
This reverts commit 3829579.
1 parent 03f5b8a commit 2fe6da8

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

packages/block-library/src/social-links/editor.scss

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,19 @@
101101
.wp-block-social-links .block-list-appender {
102102
position: static; // display inline.
103103

104-
.block-editor-button-block-appender {
105-
height: 1.5em;
106-
width: 1.5em;
107-
font-size: inherit;
104+
.block-editor-button-block-appender.components-button.components-button {
105+
padding: $grid-unit-10 - 2px;
106+
}
107+
}
108+
109+
.wp-block-social-links {
110+
&.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
108111
padding: 0;
109112
}
113+
&.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
114+
padding: $grid-unit-20 - 2px;
115+
}
116+
&.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
117+
padding: $grid-unit-30 - 1px;
118+
}
110119
}

0 commit comments

Comments
 (0)