-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Fixed #36553 -- Improved semantic structure of admin widgets. #19735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve made some style adjustments compared to the original and left comments on the changes.
span.clearable-file-input { | ||
margin-left: 15px; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
margin: 0; | ||
padding: 0; | ||
color: var(--body-quiet-color); | ||
font-size: 0.6875rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. I think it’s better to stick with the 0.8125rem
, 0.6875
we were using before.
.datetime span { | ||
white-space: nowrap; | ||
font-weight: normal; | ||
font-size: 0.6875rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e70bdaf
to
de7e008
Compare
Please add it to the accessibility improvement project board 🙏 |
django/contrib/admin/templates/admin/widgets/split_datetime.html
Outdated
Show resolved
Hide resolved
cec1446
to
9d08cc7
Compare
5d971b0
to
4a3f793
Compare
I’m not sure why the Selenium test is failing 🤔 it works fine locally. |
4a3f793
to
637d16b
Compare
637d16b
to
271630d
Compare
It's also passing for me locally but it's consistently failing in CI |
8e569f0
to
5582517
Compare
5582517
to
88fa630
Compare
Thank you, Sarah. |
Trac ticket number
ticket-36553
Branch description
Improve the semantic structure of widgets used in the admin.
Checklist
main
branch.