[wp-trac] [WordPress Trac] #53833: 'Replace image' Media Modal is missing select fields under filter media due to css issues

WordPress Trac noreply at wordpress.org
Thu Jul 29 19:53:33 UTC 2021


#53833: 'Replace image' Media Modal is missing select fields under filter media due
to css issues
--------------------------+-----------------------------
 Reporter:  mhuntdesign   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  5.8
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using the classic editor, after an image is added to the WYSIWYG, the
 image can be clicked on within the editor. The pencil icon opens up the
 'Image details' Media Modal. There you can click on the Replace button,
 which opens up the 'Replace image' Media Modal. This modal has a Filter
 Media Option, but only the search bar shows. The select field is hidden
 from view due to incorrect CSS margins applied to both the 'h2.media-
 attachments-filter-heading' and 'select.attachment-filters'. Applying
 custom css to the backend corrects this issue.


 {{{
 .media-attachments-filter-heading {
     color: #3c434a  !important;
     margin: 5px 0 0 -15px  !important;
     font-size: 13px  !important;
 }

 .media-modal-content .media-frame select.attachment-filters {
         margin-top:18px !important;
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53833>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list