mirror of
https://github.com/django/django.git
synced 2025-01-03 06:55:47 +00:00
Fixed #35558 -- Increased inline H3 headers color prominence in admin change page.
This commit is contained in:
parent
28522c3c8d
commit
e510bb1ab1
@ -390,6 +390,10 @@ body.popup .submit-row {
|
|||||||
border-right-color: var(--darkened-bg);
|
border-right-color: var(--darkened-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline-related h3 {
|
||||||
|
color: var(--body-loud-color);
|
||||||
|
}
|
||||||
|
|
||||||
.inline-related h3 span.delete {
|
.inline-related h3 span.delete {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 7.3 KiB |
@ -1858,6 +1858,7 @@ class SeleniumTests(AdminSeleniumTestCase):
|
|||||||
username="super", password="secret", email="super@example.com"
|
username="super", password="secret", email="super@example.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@screenshot_cases(["desktop_size", "mobile_size", "dark", "high_contrast"])
|
||||||
def test_add_stackeds(self):
|
def test_add_stackeds(self):
|
||||||
"""
|
"""
|
||||||
The "Add another XXX" link correctly adds items to the stacked formset.
|
The "Add another XXX" link correctly adds items to the stacked formset.
|
||||||
@ -1878,6 +1879,7 @@ class SeleniumTests(AdminSeleniumTestCase):
|
|||||||
)
|
)
|
||||||
add_button.click()
|
add_button.click()
|
||||||
self.assertCountSeleniumElements(rows_selector, 4)
|
self.assertCountSeleniumElements(rows_selector, 4)
|
||||||
|
self.take_screenshot("added")
|
||||||
|
|
||||||
def test_delete_stackeds(self):
|
def test_delete_stackeds(self):
|
||||||
from selenium.webdriver.common.by import By
|
from selenium.webdriver.common.by import By
|
||||||
|
Loading…
Reference in New Issue
Block a user