Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#60239 closed defect (bug) (fixed)

Twenty Sixteen: Quote block border width is relative on front end but 4px in editor

Reported by: nidhidhandhukiya Owned by: karmatosed
Priority: normal Milestone: 6.7
Component: Bundled Theme Version: 6.4.2
Severity: normal Keywords: has-patch commit
Cc: Focuses: css

Description (last modified by sabernhardt)

Steps to reproduce the issue :-

  1. Activate Twenty Sixteen theme.
  2. Choose Quote block.
  3. Now add some text.
  4. Change font size.

When you change the font size and looks both the side in editor and front end you can able to see that there is a difference in border in front side.
But, the border remains same in editor side.

I have attached video for better understanding.
Video URL :- ​https://share.cleanshot.com/XC73JqNtZcQVs7wbbZMY

Attachments (4)

60239.patch​ (427 bytes ) - added by nidhidhandhukiya 3 years ago.
60239.2.patch​ (567 bytes ) - added by sabernhardt 3 years ago.
setting border width in Quote block section, where it would not need !important, and adding RTL
60239.3.patch​ (427 bytes ) - added by pitamdey 3 years ago.
Yes @kamran8176, I think this will work
60239.4.patch​ (613 bytes ) - added by shailu25 2 years ago.
Patch Updated.

Download all attachments as: .zip

Change History (17)

#1 @nidhidhandhukiya
3 years ago

  • Summary PullQuote block having design issue in editor side in Twenty Sixteen theme. → Quote block having design issue in editor side in Twenty Sixteen theme.

@sabernhardt
3 years ago

setting border width in Quote block section, where it would not need !important, and adding RTL

#2 @sabernhardt
3 years ago

  • Description modified (diff)
  • Focuses css added
  • Keywords has-patch added
  • Summary Quote block having design issue in editor side in Twenty Sixteen theme. → Twenty Sixteen: Quote block border width is relative on front end but 4px in editor

#3 @kamran8176
3 years ago

@nidhidhandhukiya Hello, I checked the issue you mentioned above about the border width issue on Twenty Sixteen: Quote block, I fixed the problem with the below CSS without !important

blockquote.wp-block-quote{
	border-left-width: 4px;
}

@pitamdey
3 years ago

Yes @kamran8176, I think this will work

#4 @karmatosed
2 years ago

  • Owner set to karmatosed
  • Status new → assigned

#5 @sabernhardt
2 years ago

  • Keywords changes-requested added
  • Milestone Awaiting Review → 6.7

I want to use :where(.rtl) for a patch like 60239.2.patch​ (if we adjust the front end instead of the editor)

Last edited 2 years ago by sabernhardt (previous) (diff)

#6 @karmatosed
2 years ago

@sabernhardt if I am understanding you would like to iterate a new patch with the :where adjustment. That is absolutely fine.

Last edited 2 years ago by karmatosed (previous) (diff)

#7 @karmatosed
2 years ago

  • Owner karmatosed removed

This ticket was mentioned in ​Slack in #core-themes by karmatosed. ​View the logs.


2 years ago

#9 @karmatosed
2 years ago

  • Owner set to sabernhardt

@shailu25
2 years ago

Patch Updated.

#10 @shailu25
2 years ago

  • Keywords changes-requested removed

Updated Patch as per suggested in Above Comment.

#11 @karmatosed
2 years ago

  • Owner changed from sabernhardt to karmatosed

Thank you @shailu25 I will now test.

#12 @karmatosed
2 years ago

  • Resolution → fixed
  • Status assigned → closed

In 58777:

Twenty Sixteen: Fixes Quote block border width changes depending on font size.

When the font size is changed the border on the front was changing in width. This fix resolves that to make sure the width does not adjust.

Props nidhidhandhukiya, sabernhardt, kamran8176, pitamdey, shailu25.
Fixes #60239.

#13 @karmatosed
2 years ago

  • Keywords commit added
Note: See TracTickets for help on using tickets.