Make WordPress Core

Opened 3 years ago

Closed 21 months ago

Last modified 10 months ago

#59130 closed defect (bug) (fixed)

Twenty Seventeen: In "Latest Comments Block" space between comments increases on increasing the Typography Size

Reported by: pitamdey's profile pitamdey Owned by: karmatosed's profile karmatosed
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-screenshots has-patch has-test-info commit
Focuses: css Cc:

Description

In Twenty Seventeen Theme, The space between comments increases as we increase the Size from the typography Section. In other Themes, it is working perfectly.
Here is the Video of the issue : https://drive.google.com/file/d/1kRfza7b7ZDZ6mbd-65ydoTC5rUUSzgoR/view?usp=sharing

Attachments (3)

Screenshot 2023-08-17 at 6.48.36 PM.png (166.1 KB) - added by pitamdey 3 years ago.
screenshot for better understanding
59130.patch (973 bytes) - added by pitamdey 3 years ago.
After applying this solution the issue is resolved
59130.2.patch (1.0 KB) - added by shailu25 3 years ago.
Updated Patch

Download all attachments as: .zip

Change History (14)

@pitamdey
3 years ago

screenshot for better understanding

@pitamdey
3 years ago

After applying this solution the issue is resolved

#1 @sabernhardt
3 years ago

  • Focuses css added

The bottom margin should remain, though 4rem might be more appropriate than 4em.

@shailu25
3 years ago

Updated Patch

#2 @shailu25
3 years ago

I have updated patch & changed margin-bottom: 4rem instead of 4em in Comment Section

#3 @bhrugesh12
3 years ago

  • Keywords has-patch added

#4 @harshgajipara
3 years ago

  • Keywords has-testing-info added

Test Report

This report validates that the indicated patch addresses the issue.

Patch tested: https://core.trac.wordpress.org/attachment/ticket/59130/59130.2.patch

Environment

OS: Windows
PHP: 8.1.9
WordPress: 6.3
Browser: Chrome
Theme: Twenty Seventeen
Plugins: None activated

Actual Results:

✅ Before patch: Comments block taking more spaces https://prnt.sc/VdcXfZ3eE1hy
✅ After patch: Comments block taking less spaces https://prnt.sc/tT1NmIPWWFw6

#5 @karmatosed
21 months ago

  • Milestone changed from Awaiting Review to 6.6

#6 @sabernhardt
21 months ago

  • Keywords commit added

#7 @rajinsharwar
21 months ago

Test Report

I have tested this patch: https://core.trac.wordpress.org/attachment/ticket/59130/59130.2.patch

Environment

OS: Windows
PHP: 8.1.23
WordPress: 6.6-alpha
Browser: Chrome
Theme: Twenty Seventeen

Actual Results:

✅ After patch: Comments block: https://prnt.sc/IU8t3uaYOevt

Last edited 21 months ago by rajinsharwar (previous) (diff)

#8 @sabernhardt
21 months ago

For the record, this patch only affects the margin if the block is added within a post. In the widget context, the front-end bottom margin is still 1em (smaller, yet variable).

#9 @karmatosed
21 months ago

  • Owner set to karmatosed
  • Status changed from new to assigned

Assigning to myself to take through commit. Thank you everyone for the work done on this.

#10 @karmatosed
21 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 58367:

Twenty Seventeen: Fixes space between latest comments blocks as typography size is increased.

The latest comments block space between comments not increases based on typography size. This only impacts the margin if added within a post, widgets on the front-end still only have a 1em margin which is smaller yet variable.

Props pitamdey, sabernhardt, shailu25, harshgajipara, rajinsharwar.
Fixes #59130.

#11 @wordpressdotorg
10 months ago

  • Keywords has-test-info added; has-testing-info removed
Note: See TracTickets for help on using tickets.