From 9297f17c4d0c948065b70009b4add503431ee1c2 Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Sat, 27 Feb 2021 07:04:59 +0100 Subject: [PATCH 1/4] Latest Comments Block: Remove list padding and margin Latest Comments Block: Remove list padding and margin. --- packages/block-library/src/latest-comments/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/block-library/src/latest-comments/style.scss b/packages/block-library/src/latest-comments/style.scss index 1013298870033..ff24f5e7d3194 100644 --- a/packages/block-library/src/latest-comments/style.scss +++ b/packages/block-library/src/latest-comments/style.scss @@ -1,3 +1,8 @@ +.wp-block-latest-comments { + padding-left: 0; + margin-left: 0; +} + .wp-block-latest-comments__comment { line-height: 1.1; list-style: none; From 00c6464055c8f5401fefba60f21b9d6d07b517f7 Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Mon, 1 Mar 2021 13:13:59 +0100 Subject: [PATCH 2/4] update latest comments editor styles --- packages/block-library/src/latest-comments/editor.scss | 5 +++++ packages/block-library/src/latest-comments/style.scss | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/latest-comments/editor.scss b/packages/block-library/src/latest-comments/editor.scss index e5116c2c5bf4a..cebbf0f8a05c4 100644 --- a/packages/block-library/src/latest-comments/editor.scss +++ b/packages/block-library/src/latest-comments/editor.scss @@ -1,3 +1,8 @@ +ol.wp-block-latest-comments.wp-block-latest-comments { + padding-left: 0; + margin-left: 0; +} + .wp-block-latest-comments.has-avatars .avatar { margin-right: 10px; } diff --git a/packages/block-library/src/latest-comments/style.scss b/packages/block-library/src/latest-comments/style.scss index ff24f5e7d3194..7d5c4a0a476ff 100644 --- a/packages/block-library/src/latest-comments/style.scss +++ b/packages/block-library/src/latest-comments/style.scss @@ -1,6 +1,5 @@ .wp-block-latest-comments { padding-left: 0; - margin-left: 0; } .wp-block-latest-comments__comment { From e8c22b298f0b99121772443fd2c80bcaa0506262 Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Tue, 2 Mar 2021 09:48:25 +0100 Subject: [PATCH 3/4] Remove margin-left from the editor style. --- packages/block-library/src/latest-comments/editor.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/latest-comments/editor.scss b/packages/block-library/src/latest-comments/editor.scss index cebbf0f8a05c4..21ce51706ea6e 100644 --- a/packages/block-library/src/latest-comments/editor.scss +++ b/packages/block-library/src/latest-comments/editor.scss @@ -1,6 +1,5 @@ ol.wp-block-latest-comments.wp-block-latest-comments { padding-left: 0; - margin-left: 0; } .wp-block-latest-comments.has-avatars .avatar { From 533f29201896e0cb04fc802f3b196807106319bf Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Fri, 26 Mar 2021 05:29:41 +0100 Subject: [PATCH 4/4] Update style.css --- .../src/latest-comments/editor.scss | 18 ------------------ .../src/latest-comments/style.scss | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 packages/block-library/src/latest-comments/editor.scss diff --git a/packages/block-library/src/latest-comments/editor.scss b/packages/block-library/src/latest-comments/editor.scss deleted file mode 100644 index 21ce51706ea6e..0000000000000 --- a/packages/block-library/src/latest-comments/editor.scss +++ /dev/null @@ -1,18 +0,0 @@ -ol.wp-block-latest-comments.wp-block-latest-comments { - padding-left: 0; -} - -.wp-block-latest-comments.has-avatars .avatar { - margin-right: 10px; -} - -.wp-block-latest-comments__comment-excerpt p { - font-size: 14px; - line-height: $editor-line-height; - margin: 5px 0 20px; - padding-top: 0; -} - -.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment { - min-height: 36px; -} diff --git a/packages/block-library/src/latest-comments/style.scss b/packages/block-library/src/latest-comments/style.scss index 7d5c4a0a476ff..61c6aea843a74 100644 --- a/packages/block-library/src/latest-comments/style.scss +++ b/packages/block-library/src/latest-comments/style.scss @@ -1,4 +1,4 @@ -.wp-block-latest-comments { +ol.wp-block-latest-comments { padding-left: 0; }