Make WordPress Core

Opened 4 weeks ago

Last modified 3 weeks ago

#60937 new defect (bug)

Twenty Seventeen: Button block font weight does not change when using block Appearance setting

Reported by: pranitdugad's profile pranitdugad Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.1
Component: Bundled Theme Keywords: has-screenshots has-patch
Focuses: css Cc:

Description

Hello,
I have reviewed the "Button block" and found that its appearance is not changing when we are trying to change button appearance using block setting.
Here, I have attached its video.

Issue: https://jmp.sh/361cqMJI

Environment info:

WordPress version: WordPress 6.5 running,
Theme: Twenty Seventeen
Browser: Google Chrome
Device: MacBook Air M1
OS: macOS 14.4.1 (23E224
Thanks,

Attachments (2)

60937.patch (862 bytes) - added by pranitdugad 4 weeks ago.
After applying this patch , this issue is resolved
60937.diff (1.3 KB) - added by shailu25 3 weeks ago.
Patch Added

Download all attachments as: .zip

Change History (5)

@pranitdugad
4 weeks ago

After applying this patch , this issue is resolved

#1 @karmatosed
4 weeks ago

  • Keywords has-patch added

#2 @sabernhardt
3 weeks ago

  • Focuses css added
  • Keywords needs-patch added; has-patch removed
  • Summary changed from Twenty Seventeen: Button block appreance is not changing when we trying to change using block setting. to Twenty Seventeen: Button block font weight does not change when using block Appearance setting
  • Version set to 6.1

Removing the default font-weight would change the appearance for (almost) everyone's existing blocks.

Related: #58991 (and others mentioned there)

@shailu25
3 weeks ago

Patch Added

#3 @shailu25
3 weeks ago

  • Keywords has-patch added; needs-patch removed

Updated Patch as per suggested in above comment.

  • In Button block if no font-weight is selected, it will take default font-weight.
  • In Button block if font-weight is selected, then it will add selected font-weight.
Note: See TracTickets for help on using tickets.