Make WordPress Core

Opened 14 months ago

Closed 4 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-testing-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 14 months ago.
screenshot for better understanding
59130.patch (973 bytes) - added by pitamdey 14 months ago.
After applying this solution the issue is resolved
59130.2.patch (1.0 KB) - added by shailu25 14 months ago.
Updated Patch

Download all attachments as: .zip

Change History (13)

@pitamdey
14 months ago

screenshot for better understanding

@pitamdey
14 months ago

After applying this solution the issue is resolved

#1 @sabernhardt
14 months ago

  • Focuses css added

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

@shailu25
14 months ago

Updated Patch

#2 @shailu25
14 months ago

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

#3 @bhrugesh12
14 months ago

  • Keywords has-patch added

#4 @harshgajipara
13 months 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
4 months ago

  • Milestone changed from Awaiting Review to 6.6

#6 @sabernhardt
4 months ago

  • Keywords commit added

#7 @rajinsharwar
4 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 4 months ago by rajinsharwar (previous) (diff)

#8 @sabernhardt
4 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
4 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
4 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.

Note: See TracTickets for help on using tickets.