From 9b80231b36b6749bb051573e08b75e7424246b6d Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 24 Jul 2023 20:39:50 +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, joedolson. Reviewed by audrasjb. Merges [56282] to the 6.3 branch. Props kebbet. Fixes #58877. git-svn-id: https://develop.svn.wordpress.org/branches/6.3@56286 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 c94bb26d5d..6cd8d39acc 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 {