[wp-trac] [WordPress Trac] #61928: Metaboxes overlap block editor's edit link popup

WordPress Trac noreply at wordpress.org
Mon Aug 26 15:52:22 UTC 2024


#61928: Metaboxes overlap block editor's edit link popup
-----------------------------+------------------------------
 Reporter:  tessawatkinsllc  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:  6.6.1
 Severity:  trivial          |  Resolution:
 Keywords:                   |     Focuses:  css
-----------------------------+------------------------------
Changes (by tessawatkinsllc):

 * severity:  minor => trivial


Comment:

 My current workaround (snippet can be placed in child theme's
 functions.php, plugin, etc.)

 {{{#!php
 <?php
 /**
  * Add WordPress Backend Assets
  *
  * @param string $hook
  *
  * @return void
  */
 function au_load_admin_assets($hook)
 {
     if (in_array($hook, array('post.php', 'post-new.php'))) {
         wp_add_inline_style(
             'wp-edit-post',
             '.edit-post-layout__metaboxes{z-index:-1}'
         );
     }
 }
 add_action('admin_enqueue_scripts',  'au_load_admin_assets');
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61928#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list