From 53719d6b5b745dd99b1ab9315afb242f706ebbf1 Mon Sep 17 00:00:00 2001 From: Jkhall81 Date: Sun, 24 Mar 2024 11:02:02 -0700 Subject: [PATCH] Fixed #35321 -- Prevented Mobile Safari zoom-in on Django admin inputs. Thanks Simon Willison for the report and Ben Cardy for testing. --- django/contrib/admin/static/admin/css/responsive.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/static/admin/css/responsive.css b/django/contrib/admin/static/admin/css/responsive.css index df426ed991b..b58cbd964e6 100644 --- a/django/contrib/admin/static/admin/css/responsive.css +++ b/django/contrib/admin/static/admin/css/responsive.css @@ -171,7 +171,7 @@ input[type="submit"], button { /* Forms */ label { - font-size: 0.875rem; + font-size: 1rem; } /* @@ -192,7 +192,7 @@ input[type="submit"], button { margin: 0; padding: 6px 8px; min-height: 2.25rem; - font-size: 0.875rem; + font-size: 1rem; } .form-row select {