| Age | Commit message (Collapse) | Author |
|
Previously, the button's container had a padding of 9.4em which was
approximately center but not precisely. Now, the container uses
'align:text-center' to let the browser center the button.
|
|
Don't add horizontal padding as the label is always displayed on its own
line. This padding added no visual difference.
Move the 'display: block' property from responsive.css to base.css. The
label is already displayed on its own line in all viewports, so reduce
differences in rendering. Using block also allows the label to consume
the width of its container, creating a larger clickable area for a
slight a11y improvement.
|
|
The "object-tools" container is never rendered as a descendant of
.form-row.
The "golink" CSS class is unused.
A <label> element has not been included in the login .submit-row since
5869afe32b9c252cacd327f18c58e38c36d1f530.
The "help" CSS class from login.css has been unused since
0e5faf225c5cd1acf2ab653c74f5b161470403b9.
The <label> color in login.css is already inherited from the <body>
element and so does not need to be re-specified.
The #content-main container already has the property 'width: 100%' from
base.css and so does not need to be re-specified in login.css.
The <td> and <th> font-family property is inherited from the <body>
element and so does not need to be re-specified.
The <html> element has the attribute dir which automatically sets
the text direction in the layout. Adding the direction CSS property was
necessary to support IE which does not support the dir attribute, but IE
is no longer supported, so drop the direction property.
The 'font-size: 1em' property re-specifies the same font size. It
creates no visual difference.
The 'font-size: 14px' property often re-specifies the inherited value.
Avoid re-specifying it.
|
|
|
|
|
|
ModelAdmin.search_fields.
|
|
Unused since 233708fb683ae2c1cf3e4c00edc2e4842d99a42d.
|
|
|
|
|
|
ClearableFileInput.
|
|
The view does not contain any other JavaScript and therefore does not
have any user facing JavaScript strings to translate. Avoid the HTTP
request.
|
|
|
|
Co-Authored-By: Andy Chosak <andy@chosak.org>
|
|
admin check.
|
|
- Show "Clear all filters" only when any filter is selected.
- Preserve query string not related with filters.
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
|
|
coercion issues.
|
|
Regression in 55cdf6c52db07f29128741b8734a523ed042e465.
|
|
|
|
processor dependency.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
|
|
Unused -- other than as a local variable -- since its introduction in
953badbea5a04159adbfa970f5805c0232b6a401
|
|
|
|
|
|
|
|
|
|
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
|
|
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
|
|
|
|
Per MDN, HTMLOptionElement.selected is a Boolean attribute.
|
|
|
|
|
|
|
|
The keyword value 'none' is not a valid value for padding-bottom.
|
|
.system-message, .system-message-title are unused since their
introduction in ce0d0cd9e2cd5ac9850d825f28db39b1e123ac1e.
.float-right, .float-left, .align-left, .align-right, and .example are
unused since 6eb4f2569266391e223410ab7eaa2555ac0a4f10.
|
|
|
|
The CSS properties have been standardized and are available in all
supported browsers.
|
|
Normal spaces are fine when used as a single spaced separation. For
larger spacing, CSS is used.
|
|
|
|
The eslint configuration and the admin script compress.py have been
updated for ES6.
The unused fallback of globals.django in jquery.init.js was removed. It
is always included before jsi18n-mocks.test.js and it always sets the
global value.
|
|
|
|
django.core.exceptions.ValidationError.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
The script previously used the PyPI package closure, which is slightly
out of date and not maintained by Google.
The JavaScript contribution docs and the compress.py script now runs the
google-closure-compiler package in the recommended way. Google's
documentation on usage and installation can be found at:
https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage
This also makes the usage simpler as the package now runs through npm's
npx utility, which will automatically install google-closure-compiler to
a per-user cache.
|
|
The use of $(document).ready() was removed. The script is loaded at the
end of the document. Therefore, the referenced DOM elements are already
available and the script does not need to wait for the full DOM to be
ready before continuing.
Now that the script has no external dependencies, it can be loaded
asynchronously. As such, the async attribute was added to the script
element.
|
|
The HTML class was removed in 07988744b347302925bc6cc66511e34224db55ab.
As such, the CSS and JavaScript is unused.
|
|
|
|
|
|
|
|
|
|
|
|
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|