diff --git a/django/contrib/admin/static/admin/css/forms.css b/django/contrib/admin/static/admin/css/forms.css index 98f2f02acb..8b24fad39f 100644 --- a/django/contrib/admin/static/admin/css/forms.css +++ b/django/contrib/admin/static/admin/css/forms.css @@ -390,6 +390,10 @@ body.popup .submit-row { border-right-color: var(--darkened-bg); } +.inline-related h3 { + color: var(--body-loud-color); +} + .inline-related h3 span.delete { float: right; } diff --git a/docs/intro/_images/admin10t.png b/docs/intro/_images/admin10t.png index 70f3dae9c9..b74f9bb05b 100644 Binary files a/docs/intro/_images/admin10t.png and b/docs/intro/_images/admin10t.png differ diff --git a/docs/intro/_images/admin14t.png b/docs/intro/_images/admin14t.png index d90b3f66fd..5802c8f6f4 100644 Binary files a/docs/intro/_images/admin14t.png and b/docs/intro/_images/admin14t.png differ diff --git a/tests/admin_inlines/tests.py b/tests/admin_inlines/tests.py index 25512aede4..04f0a37e02 100644 --- a/tests/admin_inlines/tests.py +++ b/tests/admin_inlines/tests.py @@ -1858,6 +1858,7 @@ class SeleniumTests(AdminSeleniumTestCase): username="super", password="secret", email="super@example.com" ) + @screenshot_cases(["desktop_size", "mobile_size", "dark", "high_contrast"]) def test_add_stackeds(self): """ The "Add another XXX" link correctly adds items to the stacked formset. @@ -1878,6 +1879,7 @@ class SeleniumTests(AdminSeleniumTestCase): ) add_button.click() self.assertCountSeleniumElements(rows_selector, 4) + self.take_screenshot("added") def test_delete_stackeds(self): from selenium.webdriver.common.by import By