Description of the bug
If the image selected via Fieldmanager_Media has a long enough filename, the preview container's width is extended. When the field is in the editor sidebar, it's extended width pushes the edit and remove buttons off the edge of the page.
While the edit button's functionality is duplicated in the preview image's click handler, the remove button is unreachable.
Steps To Reproduce
- Add a
Fieldmanager_Media field within an editor sidebar meta box
- Upload an image with a long name, such as
4d2ea1994d7ffa588d66a6c29a6a5fcew-c2623938235rd-w436_h236_r4_q80.jpg
- Use the
Fieldmanager_Media field to select the newly-uploaded image
- Observe the
edit and remove buttons are pushed out of reach
Additional Information
For now, I've fixed this by adding the following to my project
.fm-file-detail h4 {
word-break: break-word;
}
Description of the bug
If the image selected via
Fieldmanager_Mediahas a long enough filename, the preview container's width is extended. When the field is in the editor sidebar, it's extended width pushes theeditandremovebuttons off the edge of the page.While the
editbutton's functionality is duplicated in the preview image's click handler, theremovebutton is unreachable.Steps To Reproduce
Fieldmanager_Mediafield within an editor sidebar meta box4d2ea1994d7ffa588d66a6c29a6a5fcew-c2623938235rd-w436_h236_r4_q80.jpgFieldmanager_Mediafield to select the newly-uploaded imageeditandremovebuttons are pushed out of reachAdditional Information
For now, I've fixed this by adding the following to my project