mirror of
https://github.com/django/django.git
synced 2025-05-05 06:27:31 +00:00
[5.0.x] Reverted "Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS class unconditionally in Admin."
This reverts commit ffcf66071158ed3b5541ed13b4c7381240d1b310.
This commit is contained in:
parent
ffcf660711
commit
a42a2fa267
@ -9,7 +9,7 @@
|
|||||||
{% for field in line %}
|
{% for field in line %}
|
||||||
<div>
|
<div>
|
||||||
{% if not line.fields|length == 1 and not field.is_readonly %}{{ field.errors }}{% endif %}
|
{% if not line.fields|length == 1 and not field.is_readonly %}{{ field.errors }}{% endif %}
|
||||||
<div class="flex-container{% if not line.fields|length == 1 %} fieldBox{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %}{% if field.field.is_hidden %} hidden{% endif %}{% endif %}{% if field.is_checkbox %} checkbox-row{% endif %}">
|
<div class="flex-container{% if not line.fields|length == 1 %} fieldBox{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %}{% if field.field.is_hidden %} hidden{% endif %}{% elif field.is_checkbox %} checkbox-row{% endif %}">
|
||||||
{% if field.is_checkbox %}
|
{% if field.is_checkbox %}
|
||||||
{{ field.field }}{{ field.label_tag }}
|
{{ field.field }}{{ field.label_tag }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -12,7 +12,3 @@ Bugfixes
|
|||||||
* Fixed a crash in Django 4.2 when validating email max line lengths with
|
* Fixed a crash in Django 4.2 when validating email max line lengths with
|
||||||
content decoded using the ``surrogateescape`` error handling scheme
|
content decoded using the ``surrogateescape`` error handling scheme
|
||||||
(:ticket:`35361`).
|
(:ticket:`35361`).
|
||||||
|
|
||||||
* Fixed a regression in Django 4.2 where multiple checkboxes in the admin would
|
|
||||||
be centered on narrower screen widths (:ticket:`34994`) or have misaligned
|
|
||||||
labels (:ticket:`35386`).
|
|
||||||
|
@ -20,7 +20,3 @@ Bugfixes
|
|||||||
* Fixed a bug in Django 5.0 that caused a crash when applying migrations
|
* Fixed a bug in Django 5.0 that caused a crash when applying migrations
|
||||||
including alterations to ``GeneratedField`` such as setting ``db_index=True``
|
including alterations to ``GeneratedField`` such as setting ``db_index=True``
|
||||||
on SQLite (:ticket:`35373`).
|
on SQLite (:ticket:`35373`).
|
||||||
|
|
||||||
* Fixed a regression in Django 4.2 where multiple checkboxes in the admin would
|
|
||||||
be centered on narrower screen widths (:ticket:`34994`) or have misaligned
|
|
||||||
labels (:ticket:`35386`).
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user