[wp-trac] [WordPress Trac] #58099: Twenty Nineteen: Button block does not respect custom width in the editor (was: Twenty nineteen button having issue in editor side when width is used.)
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Apr  6 19:07:52 UTC 2023
    
    
  
#58099: Twenty Nineteen: Button block does not respect custom width in the editor
------------------------------+-----------------------------
 Reporter:  nidhidhandhukiya  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Bundled Theme     |     Version:  6.2
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  css
------------------------------+-----------------------------
Changes (by sabernhardt):
 * keywords:   => needs-patch
 * focuses:   => css
 * milestone:  Awaiting Review => Future Release
Comment:
 The width was added mainly for blocks inside Column blocks (and/or Group
 blocks, etc.) in [https://github.com/WordPress/twentynineteen/pull/454 PR
 454] and
 [https://github.com/WordPress/twentynineteen/pull/526#pullrequestreview-173356109
 PR 526]. Then [47587] changed the value from `100%` to `initial`.
 The [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentynineteen/style-editor.scss?rev=54106#L88 SCSS file]
 probably could use `.wp-block:where(:not(.has-custom-width))`, which would
 compile to `.editor-styles-wrapper .wp-block .wp-block:where(:not(.has-
 custom-width))`.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58099#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list