#33300: Hidden fields are visible on small screens.
-------------------------------------+-------------------------------------
     Reporter:  Maxim Danilov        |                    Owner:  xdqc
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  4.0
     Severity:  Normal               |               Resolution:
     Keywords:  admin, modeladmin,   |             Triage Stage:
  css                                |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => assigned
 * owner:  nobody => xdqc
 * has_patch:  0 => 1
 * ui_ux:  0 => 1


Old description:

> 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;
>     ...
> }

New description:

 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;
     ...
 }
 }}}

--

Comment:

 Thanks for the report.

 [https://github.com/django/django/pull/14775 PR]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33300#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.ac78a54085f90f3af764bae28e57294f%40djangoproject.com.

Reply via email to