From f8e7a16ff5a924ce4d123c1c20fc635f12b80d5f Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Sat, 22 Jul 2023 19:22:01 +0000 Subject: [PATCH] Media: Fix Image rotation button overflow in translations. Fix CSS to cover the image rotation button action text being longer than the Image Rotation menu toggle. Prevent the button text from overflowing the button. Follow-up to [56239]. Props kebbet. Fixes #58877. git-svn-id: https://develop.svn.wordpress.org/trunk@56282 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/media.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index f867b38ede..c7f9100ca4 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -1139,6 +1139,10 @@ border color while dragging a file over the uploader drop area */ display: block; margin: 2px 0; width: 100%; + white-space: break-spaces; + line-height: 1.5; + padding-top: 3px; + padding-bottom: 2px; } .imgedit-rotate-menu-container {