diff --git a/django/contrib/admin/static/admin/css/forms.css b/django/contrib/admin/static/admin/css/forms.css index a778057dc4..629fcafaed 100644 --- a/django/contrib/admin/static/admin/css/forms.css +++ b/django/contrib/admin/static/admin/css/forms.css @@ -248,7 +248,7 @@ fieldset.monospace textarea { /* SUBMIT ROW */ .submit-row { - padding: 12px 14px; + padding: 12px 14px 7px; margin: 0 0 20px; background: var(--darkened-bg); border: 1px solid var(--hairline-color); @@ -264,11 +264,11 @@ body.popup .submit-row { .submit-row input { height: 35px; line-height: 15px; - margin: 0 0 0 5px; + margin: 0 0 5px 5px; } .submit-row input.default { - margin: 0 0 0 8px; + margin: 0 0 5px 8px; text-transform: uppercase; } @@ -288,6 +288,7 @@ body.popup .submit-row { padding: 10px 15px; height: 15px; line-height: 15px; + margin-bottom: 5px; color: var(--button-fg); } diff --git a/django/contrib/admin/static/admin/css/responsive.css b/django/contrib/admin/static/admin/css/responsive.css index 4c6101f1d9..55f493b6b7 100644 --- a/django/contrib/admin/static/admin/css/responsive.css +++ b/django/contrib/admin/static/admin/css/responsive.css @@ -28,7 +28,7 @@ input[type="submit"], button { } #content { - padding: 20px 30px 30px; + padding: 15px 20px 20px; } div.breadcrumbs { @@ -232,6 +232,22 @@ input[type="submit"], button { margin-left: 2px; } + .submit-row { + padding: 8px 8px 3px 8px; + } + + .submit-row a.deletelink { + padding: 10px 7px; + } + + .submit-row input.default { + margin: 0 0 5px 5px; + } + + .button, input[type=submit], input[type=button], .submit-row input, a.button { + padding: 7px; + } + /* Related widget */ .related-widget-wrapper { @@ -808,7 +824,7 @@ input[type="submit"], button { /* Submit row */ .submit-row { - padding: 10px 10px 0; + padding: 10px 10px 5px; margin: 0 0 15px; display: flex; flex-direction: column;