Make WordPress Core

Opened 18 months ago

Last modified 12 months ago

#56537 new defect (bug)

Twenty Nineteen: The latest posts block has alignment issue

Reported by: smit08's profile smit08 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-screenshots has-testing-info has-patch
Focuses: Cc:

Description

In the twenty nineteen theme, the latest posts block has a center alignment issue in the editor and front.

Steps to reproduce:

  1. Activate the twenty nineteen theme.
  2. Add the latest posts block.
  3. Set it in center alignment, and the format should be in list not in a grid format.
  4. You will now see the issue clearly that it is not in center alignment.

Attachments (4)

CleanShot 2022-09-09 at 00.03.52@2x.png (1.2 MB) - added by smit08 18 months ago.
center alignment issue in editor.
CleanShot 2022-09-09 at 00.03.58@2x.png (407.1 KB) - added by smit08 18 months ago.
center alignment issue in front.
#56537.patch (491 bytes) - added by hilayt24 18 months ago.
Adding the margin and align the text to center when needed.
56537.2.patch (1.3 KB) - added by smit08 18 months ago.
In this patch I have added the align center css at right position in both editor and front style css file. And also added the rtl css in file. hilay24 has added the new css which was not working and wrong. hilay24 patch was not working, so I created this patch and I have tested it and now it is solved in front, editor and rtl also.

Download all attachments as: .zip

Change History (7)

@smit08
18 months ago

center alignment issue in editor.

@smit08
18 months ago

center alignment issue in front.

#1 @hilayt24
18 months ago

  • Keywords has-patch added; needs-patch removed

After reviewing the ticket I confirm that this is theme specific issue so I am adding the patch for the 2019 theme.

@hilayt24
18 months ago

Adding the margin and align the text to center when needed.

@smit08
18 months ago

In this patch I have added the align center css at right position in both editor and front style css file. And also added the rtl css in file. hilay24 has added the new css which was not working and wrong. hilay24 patch was not working, so I created this patch and I have tested it and now it is solved in front, editor and rtl also.

#2 @hilayt24
18 months ago

Hi @smit08 , Can you please elaborate why my patch is wrong, as it is working , I checked and tested it also, if we just add the text align center you will notice that it is not perfectly align in the center. Please verify that also.

#3 @SergeyBiryukov
12 months ago

  • Summary changed from In Twenty Nineteen theme, the latest posts block has alignment issue. to Twenty Nineteen: The latest posts block has alignment issue
Note: See TracTickets for help on using tickets.