From 263e03941187f4ffdd09b7e7ecee442717064083 Mon Sep 17 00:00:00 2001 From: Jonah Bishop Date: Tue, 10 Jul 2018 11:10:05 -0400 Subject: [PATCH] Fixed #29045 -- Fixed admin CSS so that select multiple elements honor the HTML size attribute. --- django/contrib/admin/static/admin/css/base.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index 34c0b90e40..fd011a3f9a 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -441,6 +441,8 @@ select { } select[multiple] { + /* Allow HTML size attribute to override the height in the rule above. */ + height: auto; min-height: 150px; }