Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 18 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 Owned by: karmatosed
Priority: normal Milestone: 6.6
Component: Bundled Theme Version:
Severity: normal Keywords: has-screenshots has-patch has-test-info commit
Cc: Focuses: css

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

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
2 years ago

  • Milestone Awaiting Review → 6.6

#6 @sabernhardt
2 years ago

  • Keywords commit added

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

#8 @sabernhardt
2 years 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
2 years ago

  • Owner set to karmatosed
  • Status new → assigned

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

#10 @karmatosed
2 years ago

  • Resolution → fixed
  • Status assigned → 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
18 months ago

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