Skip to content

Commit 2030705

Browse files
committed
Twenty Twenty: Correctly align Social Icons block in the editor.
This changeset resets `padding-left` property for the Social Icons block in the editor. Props umesh84, audrasjb, nidhidhandhukiya, kajalgohel. Fixes #55987. git-svn-id: https://develop.svn.wordpress.org/trunk@54152 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a8f702f commit 2030705

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,10 @@ hr.wp-block-separator.is-style-dots::before {
11061106
padding-right: 1.3em;
11071107
}
11081108

1109+
.editor-styles-wrapper ul.block-editor-block-list__block.wp-block-social-links {
1110+
padding-left: 0;
1111+
}
1112+
11091113
/* Block: Post Template ---------------- */
11101114

11111115
.editor-styles-wrapper ul.wp-block-post-template {

src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,10 @@ hr.wp-block-separator.is-style-dots::before {
11101110
padding-left: 1.3em;
11111111
}
11121112

1113+
.editor-styles-wrapper ul.block-editor-block-list__block.wp-block-social-links {
1114+
padding-left: 0;
1115+
}
1116+
11131117
/* Block: Post Template ---------------- */
11141118

11151119
.editor-styles-wrapper ul.wp-block-post-template {

0 commit comments

Comments
 (0)