[Django] #30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline when browser windows is made smaller

25 views
Skip to first unread message

Django

unread,
Aug 23, 2019, 2:58:25 AM8/23/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-----------------------------------------+------------------------
Reporter: basilrabi | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
I have a model with a DateTimeField and used it in admin.TabularInline for
the Django Admin. When the browser window is wide enough there are no
issues. But when the browser window is made smaller or when you use a
phone to view the admin page, you can't see the text inside the text box
for the date and time since the boxes become too small.

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

Django

unread,
Aug 23, 2019, 2:58:52 AM8/23/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------+--------------------------------------

Reporter: basilrabi | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by basilrabi):

* Attachment "small.png" added.

Screen shot

Django

unread,
Aug 23, 2019, 4:21:52 AM8/23/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------+------------------------------------

Reporter: basilrabi | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------+------------------------------------
Changes (by Carlton Gibson):

* easy: 0 => 1
* stage: Unreviewed => Accepted


Comment:

OK, yes. Looks like a CSS adjustment (`min-width`?) is needed. Thanks for
the report (and screenshot!)

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:1>

Django

unread,
Aug 23, 2019, 8:37:40 AM8/23/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------+------------------------------------

Reporter: basilrabi | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------+------------------------------------

Comment (by tapaswenipathak):

Hello folks: Can I take the ticket?

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:2>

Django

unread,
Aug 23, 2019, 12:10:22 PM8/23/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+------------------------------------
Reporter: Basil Eric Rabi | Owner: nobody

Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+------------------------------------

Comment (by felixxm):

Feel-free (I saw that you left the same question in few tickets) it's
probably better to focus on 1-2 tickets and start to work on others when
fix is ready.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:3>

Django

unread,
Aug 24, 2019, 5:07:24 AM8/24/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+------------------------------------
Reporter: Basil Eric Rabi | Owner: nobody

Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+------------------------------------

Comment (by Lionel Bersee):

I would like to pick up and work on this ticket, would this be okay? I am
a first time contributor.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:4>

Django

unread,
Aug 24, 2019, 5:08:04 AM8/24/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+------------------------------------
Reporter: Basil Eric Rabi | Owner: nobody

Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+------------------------------------
Changes (by Lionel Bersee):

* cc: Lionel Bersee (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:5>

Django

unread,
Aug 24, 2019, 5:33:23 AM8/24/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+------------------------------------
Reporter: Basil Eric Rabi | Owner: nobody

Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+------------------------------------

Comment (by felixxm):

Lionel, feel-free, patch is welcome.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:6>

Django

unread,
Aug 24, 2019, 5:46:18 AM8/24/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+-----------------------------------------
Reporter: Basil Eric Rabi | Owner: Lionel Bersee
Type: Bug | Status: assigned
Component: contrib.admin | Version: 2.2

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+-----------------------------------------
Changes (by Lionel Bersee):

* owner: nobody => Lionel Bersee
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:7>

Django

unread,
Aug 25, 2019, 5:44:13 AM8/25/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+------------------------------------
Reporter: Basil Eric Rabi | Owner: (none)

Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+------------------------------------
Changes (by Lionel Bersee):

* owner: Lionel Bersee => (none)
* status: assigned => new


Comment:

Sorry I've become a little busy and might not have time to work on this,
others are free to pick up.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:8>

Django

unread,
Aug 25, 2019, 6:59:24 AM8/25/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
---------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: urajwansh
Type: Bug | Status: assigned
Component: contrib.admin | Version: 2.2

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+-------------------------------------
Changes (by urajwansh):

* status: new => assigned

* owner: (none) => urajwansh
* cc: urajwansh (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:9>

Django

unread,
Sep 7, 2019, 8:04:46 PM9/7/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: assigned
Component: contrib.admin | Version: 2.2

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Utkarsh Rajwansh):

* Attachment "screenshot1.png" added.

screen resolution for small device

Django

unread,
Sep 7, 2019, 8:05:22 PM9/7/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: assigned
Component: contrib.admin | Version: 2.2

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Utkarsh Rajwansh):

* Attachment "screenshot2.png" added.

attempt to create the issue

Django

unread,
Sep 7, 2019, 8:07:29 PM9/7/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: closed
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Utkarsh Rajwansh):

* status: assigned => closed
* resolution: => needsinfo


Comment:

Tried recreating the issue but didn't find any practical application or
scenario where such a small screen resolution is needed as per my
observation.So either there is not enough info to proceed on this bug or
this bug is invalid.
Screenshots attached with screen resolution parameters.

screenshot1.png
[[Image(https://code.djangoproject.com/attachment/ticket/30725/screenshot1.png)]]
screenshot2.png
[[Image(https://code.djangoproject.com/attachment/ticket/30725/screenshot2.png)]]

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:10>

Django

unread,
Sep 7, 2019, 8:42:46 PM9/7/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Basil Eric Rabi):

* status: closed => new
* resolution: needsinfo =>


Comment:

You need to put the DateTimeField in the TabularInline along with other
fields such as CharField and Text field. When there are a number of
fields, the TabularInline becomes scrollable from left to right and the
text box of the DateTimeField becomes very small.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:11>

Django

unread,
Sep 8, 2019, 3:08:31 AM9/8/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Basil Eric Rabi):

* Attachment "firefox.png" added.

More screentshot of the issue

Django

unread,
Sep 8, 2019, 3:14:42 AM9/8/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Basil Eric Rabi):

Attaching another screenshot (firefox.png) to further clarify the issue.
As can be observed, the text box of the DateTimeField in the TabularInline
is too small that the contents can't be read. This issue is only present
in the TabularInline and not in the StackedInline so I believe this is a
valid bug.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:12>

Django

unread,
Sep 8, 2019, 10:41:22 AM9/8/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Utkarsh Rajwansh):

I guess , need more time to understand repo. By the time if anyone else
has fix please go ahead.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:13>

Django

unread,
Sep 10, 2019, 2:46:27 PM9/10/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Min ho Kim):

Hi Basil Eric Rabi,
I tried to reproduce the issue as well, but couldn't make it.

I made my admin look like your screenshot with DateTimeField in
TabularInline along with CharField and TextField.
But none of the fields, including DateTimeField, shrunk at any screen size
I can test.
It just becomes scrollable all the way through, and DateTimeField input
box size changes very slightly as you resize the screen.

I tried Django version 2.2 and master.
Tried on current versions of Chrome and FireFox, checking different screen
sizes for various devices, and tried on my mobile phone.

I think we need more information here.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:14>

Django

unread,
Sep 10, 2019, 2:47:18 PM9/10/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField becomes too small in admin.TabularInline
when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Min ho Kim):

* cc: Min ho Kim (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:15>

Django

unread,
Sep 10, 2019, 7:19:40 PM9/10/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too

small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Old description:

> I have a model with a DateTimeField and used it in admin.TabularInline
> for the Django Admin. When the browser window is wide enough there are no
> issues. But when the browser window is made smaller or when you use a
> phone to view the admin page, you can't see the text inside the text box
> for the date and time since the boxes become too small.

New description:

I have a model with a DateTimeField and used it in admin.TabularInline for

the Django Admin using `TIME_ZONE = 'Asia/Manila'` in `settings.py`. When


the browser window is wide enough there are no issues. But when the
browser window is made smaller or when you use a phone to view the admin
page, you can't see the text inside the text box for the date and time
since the boxes become too small.

--

Comment (by Basil Eric Rabi):

Hi Min ho Kim,

I'm sorry for the lacking information. I just tried to do a minimal
reproducible example and found out what was missing was the `TIME_ZONE =
'Asia/Manila'` in `settings.py`. It seems the bug is not triggered if
`TIME_ZONE = 'UTC'`. I updated the bug description.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:16>

Django

unread,
Sep 11, 2019, 1:30:08 AM9/11/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too

small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Min ho Kim):

Hi Basil Eric Rabi,
I don't think it's related to the settings either, changing TIME_ZONE =
'Asia/Manila' doesn't do anything.
It looks like a CSS issue like Carlton said (not your CSS file).

{{{

django>contrib>admin>static>admin>css>widgets.css>
min-width: 0;

}}}

What browser are you using? and what version is it?
If it's not the latest version, could you upgrade the browser and see if
it still exist?

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:17>

Django

unread,
Sep 11, 2019, 5:06:35 AM9/11/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too

small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Basil Eric Rabi):

Hi Min ho Kim,

I meant that by changing the `TIME_ZONE` to
`your_browser's_local_timezone`, the issue will be reproduced. For me, my
time zone is `Asia/Manila`. If I put time zones other than my local time
zone (which is `Asia/Manila`), the text box *does not* shrink when the
browser window is resized smaller. This must be the case for you since
most probably, your time zone is not `Asia/Manila`. I think you can
reproduce the issue if you change the time zone to your local one.

This may be related to the absence of this message under the widget:
```
Note: You are n hours ahead/behind server time.
```
If this message is absent, then the text box will shrink if the browser
window is resized.

These are the browsers I am presently testing:
1. Firefox 69.0 (Fedora 30)
1. Firefox 68.1 (Android O)
1. Google Chrome 76.0.3809.132 (Fedora 30)

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:18>

Django

unread,
Sep 11, 2019, 5:49:16 AM9/11/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too

small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Min ho Kim):

Hi Basil Eric Rabi,
Yes! Changing TIME_ZONE does reproduce the issue!
In my case, "Australia/Sydney".

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:19>

Django

unread,
Sep 11, 2019, 5:51:59 AM9/11/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too

small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Min ho Kim):

* version: 2.2 => master


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:20>

Django

unread,
Sep 11, 2019, 6:32:40 AM9/11/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too

small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new

Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Min ho Kim):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:21>

Django

unread,
Sep 11, 2019, 6:36:53 AM9/11/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too
small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Utkarsh
| Rajwansh
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Min ho Kim):

{{{


I guess , need more time to understand repo. By the time if anyone else
has fix please go ahead.

}}}

Hi Utkarsh Rajwansh,
I submitted patch. Hope you don't mind.

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:22>

Django

unread,
Sep 17, 2019, 7:07:58 AM9/17/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too
small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Min ho
| Kim
Type: Bug | Status: assigned

Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by felixxm):

* owner: Utkarsh Rajwansh => Min ho Kim


* status: new => assigned

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:23>

Django

unread,
Sep 17, 2019, 8:31:49 AM9/17/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too
small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Min ho
| Kim
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed

* resolution: => fixed


Comment:

In [changeset:"b1d6b35e146aea83b171c1b921178bbaae2795ed" b1d6b35e]:
{{{
#!CommitTicketReference repository=""
revision="b1d6b35e146aea83b171c1b921178bbaae2795ed"
Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular
inline.

"width" of DateTimeField inputs in admin tabular inline wasn't set
correctly what caused displaying too small inputs with responsive CSS
when timezone warning wasn't present.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:24>

Django

unread,
Sep 17, 2019, 8:35:11 AM9/17/19
to django-...@googlegroups.com
#30725: Textbox size of a DateTimeField with local timezone in settings becomes too
small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
Reporter: Basil Eric Rabi | Owner: Min ho
| Kim
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"6c761a25fbd1931a363457b275e2f1f5395814fe" 6c761a2]:
{{{
#!CommitTicketReference repository=""
revision="6c761a25fbd1931a363457b275e2f1f5395814fe"
[3.0.x] Fixed #30725 -- Fixed width of DateTimeField inputs in admin
tabular inline.

"width" of DateTimeField inputs in admin tabular inline wasn't set
correctly what caused displaying too small inputs with responsive CSS
when timezone warning wasn't present.

Backport of b1d6b35e146aea83b171c1b921178bbaae2795ed from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:25>

Reply all
Reply to author
Forward
0 new messages