Make WordPress Core

Opened 4 years ago

Closed 2 years ago

#56174 closed defect (bug) (worksforme)

Twenty Twenty: button block overlaps with other block

Reported by: multidots1896 Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version: 6.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

While using twenty twenty theme facing issue when we add button block and changing its alignment and adding other search block.Button block overlap with other block.

Here is link:​https://share.cleanshot.com/rITjL3ots1sSlhb1sXqE

Attachments (3)

56174.patch​ (714 bytes ) - added by multidots1896 4 years ago.
added patch
56174.1.patch​ (2.0 KB ) - added by nidhidhandhukiya 4 years ago.
56174.2.patch​ (1.0 KB ) - added by smit08 4 years ago.
@nidhidhandhukiya patch was working but looks like that margin-bottom difference in different alignments was given intentionally, because I found margin-bottom css of different alignments. So I added the new patch. @multidots1896 forgot to add the rtl css so I added the same patch like like @multidots1896 but with rtl css file change

Download all attachments as: .zip

Change History (7)

#1 @multidots1896
4 years ago

  • Version → 6.0

#2 @desrosj
4 years ago

  • Summary In Twenty Twenty theme button block overlap with other block → Twenty Twenty: button block overlaps with other block

#3 @nidhidhandhukiya
4 years ago

Hello @multidots1896
After applying your patch yes issue is solved But, the spacing is looking different for align-right, centre or left.
So for that, we need to remove the margin bottom from left and right.
I have added code for that in my patch.

@smit08
4 years ago

@nidhidhandhukiya patch was working but looks like that margin-bottom difference in different alignments was given intentionally, because I found margin-bottom css of different alignments. So I added the new patch. @multidots1896 forgot to add the rtl css so I added the same patch like like @multidots1896 but with rtl css file change

#4 @sabernhardt
2 years ago

  • Milestone Awaiting Review
  • Resolution → worksforme
  • Status new → closed

Thanks for the report and patches. The legacy alignment classes have been replaced by text alignment and justification settings, so this should be unnecessary now.

I'll close this, as similar tickets have closed: #57257, #56138, #53021, #56601.

Note: See TracTickets for help on using tickets.