From 9745a84ce8219f03a01e781f22f1393ef0fb9195 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Mon, 26 Oct 2020 23:14:06 +0000 Subject: [PATCH] Administration: Accommodate long translations for "Posts" in list table headers. This stems from longer translations on the User table, but this will apply to any posts column in a list table. Hyphenation should typically just apply to the column header, as the cell contents are just a count. This does appear to have some browser inconsistencies, so may need further adjustment in the future. Props audrasjb, justinahinon. Fixes #50838. git-svn-id: https://develop.svn.wordpress.org/trunk@49317 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/list-tables.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index f2287d7c44..1febe4e837 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -313,6 +313,9 @@ table.fixed { .fixed .column-posts { width: 74px; + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; } .fixed .column-comment .comment-author {