Make WordPress Core

Ticket #45424: 45424.3.patch

File 45424.3.patch, 1.4 KB (added by allancole, 6 years ago)

Reverts the customization to the toolbar for wide and full blocks to make them more usable. More info here: https://github.com/WordPress/twentynineteen/pull/668

  • src/wp-content/themes/twentynineteen/style-editor.css

     
    5959  }
    6060}
    6161
    62 /** === Editor Block Toolbar Position === */
    63 .editor-block-list__block[data-align="wide"] .editor-block-contextual-toolbar .editor-block-toolbar.editor-block-toolbar,
    64 .editor-block-list__block[data-align="full"] .editor-block-contextual-toolbar .editor-block-toolbar.editor-block-toolbar {
    65   max-width: none;
    66 }
    67 
    6862/** === Content Width === */
    6963.wp-block {
    7064  width: calc(100vw - (2 * 1rem));
  • src/wp-content/themes/twentynineteen/style-editor.scss

     
    7171        }
    7272}
    7373
    74 /** === Editor Block Toolbar Position === */
    75 
    76 // Since 2019 left-aligns wide and fullwide blocks, left align the toolbar too.
    77 .editor-block-list__block[data-align="wide"] .editor-block-contextual-toolbar .editor-block-toolbar.editor-block-toolbar,
    78 .editor-block-list__block[data-align="full"] .editor-block-contextual-toolbar .editor-block-toolbar.editor-block-toolbar {
    79                 max-width: none;
    80 }
    81 
    8274/** === Content Width === */
    8375
    8476.wp-block {