From 78470043ae4b8def7914badcd05bb1877c8a0aa4 Mon Sep 17 00:00:00 2001 From: Collin Anderson Date: Tue, 18 Oct 2022 15:16:31 -0400 Subject: [PATCH] Fixed #34102 -- Limited wrapping long names to admin dashboard. Regression in 15682cb0034242fcdfe333cf399d62ab70c3a978. --- django/contrib/admin/static/admin/css/base.css | 1 - django/contrib/admin/static/admin/css/dashboard.css | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index 96cfe4b569..695d0c6a90 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -312,7 +312,6 @@ td, th { border-bottom: 1px solid var(--hairline-color); vertical-align: top; padding: 8px; - word-break: break-word; } th { diff --git a/django/contrib/admin/static/admin/css/dashboard.css b/django/contrib/admin/static/admin/css/dashboard.css index 91d6efde80..242b81a45f 100644 --- a/django/contrib/admin/static/admin/css/dashboard.css +++ b/django/contrib/admin/static/admin/css/dashboard.css @@ -1,4 +1,7 @@ /* DASHBOARD */ +.dashboard td, .dashboard th { + word-break: break-word; +} .dashboard .module table th { width: 100%;