Opened 8 months ago
Closed 7 months ago
#60885 closed defect (bug) (duplicate)
Twenty Nineteen: Button block size is not changing when we trying to change using block setting.
Reported by: | viralsampat | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | |
Focuses: | ui, css, administration | Cc: |
Description
Hello,
I have reviewed the "Button block" and found that its size is not changing when we are trying to change button width using block setting.
Here, I have attached its video.
Issue: https://share.cleanshot.com/tn6SMppzqfWDCxdlZTgd
Environment info:
- WordPress version: WordPress 6.5-beta2 running,
- Theme: Twenty Nineteen Version: 2.7
- Browser: Google Chrome, Version 123.0.6312.87 (Official Build) (arm64)
- Device: MacBook Air M1
- OS: macOS 14.4.1 (23E224
- Gutenberg plugin: Version 18.0.0
Thanks,
Change History (2)
Note: See
TracTickets for help on using
tickets.
Thank you for the report.
I can reproduce this on 6.6 alpha, 6.5.0, and 6.4.3. Theme version: 2.8. No plugins active.
I can only reproduce it when the custom fields UI is enabled/opened, so when the editor is not iframed.
The 100% width button shows correctly in the editor and front, but the 25, 50 and 75 are using the wrong width in the block editor.
The CSS for the button widths is overwritten.
I am using the 75% wide button in the example:
From the themes editor.scss file: