Opened 3 years ago

Last modified 3 years ago

#33300 closed Bug

Hidden fields are visible on small screens. — at Version 1

Reported by: Maxim Danilov Owned by: xdqc
Component: contrib.admin Version: 4.0
Severity: Normal Keywords: admin, modeladmin, css
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Mariusz Felisiak)

hidden admin field has wrapped div:

<div class="fieldBox field-value_char hidden">...</div>

it is should be hidden: base.css, 302 row

.hidden {
    display: none;
}

But not for small screen: responsive.css, 559 row

@media (max-width: 767px)
.aligned .form-row, .aligned .form-row > div {
    display: flex;
    ...
}

Change History (1)

comment:1 by Mariusz Felisiak, 3 years ago

Description: modified (diff)
Has patch: set
Owner: changed from nobody to xdqc
Status: newassigned
Summary: admin form hidden field css error.Hidden fields are visible on small screens.
UI/UX: set

Thanks for the report.

PR

Note: See TracTickets for help on using tickets.
Back to Top