1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #34095 -- Changed height of form controls to use rem units in admin.

Co-authored-by: ja <ja@ja.com>
This commit is contained in:
jer 2022-11-04 08:57:32 +00:00 committed by GitHub
parent 7b0e9ea53c
commit 5a7f3213ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@
} }
#toolbar #searchbar { #toolbar #searchbar {
height: 19px; height: 1.1875rem;
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
padding: 2px 5px; padding: 2px 5px;
margin: 0; margin: 0;
@ -270,7 +270,7 @@
background: var(--body-bg); background: var(--body-bg);
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;
line-height: 24px; line-height: 1.5rem;
color: var(--body-quiet-color); color: var(--body-quiet-color);
width: 100%; width: 100%;
} }
@ -289,7 +289,7 @@
#changelist .actions select { #changelist .actions select {
vertical-align: top; vertical-align: top;
height: 24px; height: 1.5rem;
color: var(--body-fg); color: var(--body-fg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 4px; border-radius: 4px;
@ -316,7 +316,7 @@
background: var(--body-bg); background: var(--body-bg);
box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset; box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
cursor: pointer; cursor: pointer;
height: 24px; height: 1.5rem;
line-height: 1; line-height: 1;
padding: 4px 8px; padding: 4px 8px;
margin: 0; margin: 0;