From 36bc47069ce071e80c8129500de3b8664d2058a7 Mon Sep 17 00:00:00 2001 From: Josh Santos Date: Mon, 26 Oct 2020 18:43:23 +0700 Subject: [PATCH] Fixed #32127 -- Fixed admin change-form textarea layout for mid-sized displays. --- django/contrib/admin/static/admin/css/responsive.css | 2 +- docs/releases/3.1.3.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/css/responsive.css b/django/contrib/admin/static/admin/css/responsive.css index 48e5114fdf..10dc84ed16 100644 --- a/django/contrib/admin/static/admin/css/responsive.css +++ b/django/contrib/admin/static/admin/css/responsive.css @@ -217,7 +217,7 @@ input[type="submit"], button { } textarea { - max-width: 518px; + max-width: 100%; max-height: 120px; } diff --git a/docs/releases/3.1.3.txt b/docs/releases/3.1.3.txt index 300e4aff54..ce6cf962c7 100644 --- a/docs/releases/3.1.3.txt +++ b/docs/releases/3.1.3.txt @@ -53,3 +53,7 @@ Bugfixes reset tokens (:ticket:`32130`). * Added support for ``asgiref`` 3.3 (:ticket:`32128`). + +* Fixed a regression in Django 3.1 that caused incorrect textarea layout on + medium-sized screens in the admin change form view with the sidebar open + (:ticket:`32127`).