Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Môi trường [Production][vấn đề giao diện] trang thêm mới đội cứu hộ và thêm mới hộ dân, tăng width cho mục tình trạng #166

Open
crazywolfxju opened this issue Oct 29, 2020 · 10 comments
Labels
enhancement improvement for existing feature low priority

Comments

@crazywolfxju
Copy link

22
23

@crazywolfxju crazywolfxju changed the title Môi trường [Production][vấn đề giao diện] trang thêm mới đội cứi hộ và thêm mới hộ dân, tăng width cho mục tình trạng Môi trường [Production][vấn đề giao diện] trang thêm mới đội cứu hộ và thêm mới hộ dân, tăng width cho mục tình trạng Oct 29, 2020
@thaidn
Copy link
Contributor

thaidn commented Oct 30, 2020

Tôi không reproduce được lỗi này. Tôi set up và chạy thử một phiên bản DEV thì thấy chữ không còn bị lấp nữa, như hình bên dưới.

Screen Shot 2020-10-30 at 12 34 12 AM

Phiên bản DEV của tôi chạy Django version 3.1.2. Tôi không rõ bản Production hiện giờ chạy phiên bản Django bao nhiêu.

Bạn coi trên browser nào mà bị tình trạng này? Tôi coi trên Chrome và Safari đều thấy ổn.

@thaidn
Copy link
Contributor

thaidn commented Oct 30, 2020

Tôi thấy vấn đề này trên phiên bản production, kể cả trên Chrome: https://cuuhomientrung.info/admin/app/hodan/2970/change/?_changelist_filters=status__id__exact%3D3.

Nhưng xin nhắc lại là khi tôi chạy DEV trên máy của tôi thì lại không thấy.

@crazywolfxju
Copy link
Author

Em chạy trên Chrome và IE đều bị ạ
image

@thaidn
Copy link
Contributor

thaidn commented Oct 30, 2020

Có lẽ hiện giờ phiên bản production có gì đó khác với bản DEV được build từ mã nguồn. Chỗ này cần phải có ý kiến của các bạn đang quản lý production mới biết được tại sao.

@vuon9
Copy link

vuon9 commented Oct 31, 2020

image
Hi, nếu tắt CSS max-width cho .field-status select này thì sẽ giải quyết được ạ. Vấn đề do file custom.css.

@dothanhlam97
Copy link
Collaborator

@vuongggggg nếu tắt cái này thì các column trong table ở /hodan sẽ bị to ra.

@dothanhlam97
Copy link
Collaborator

Proposed solution: Thêm select .filter-status k giới hạn max width.

@mihnsen
Copy link
Collaborator

mihnsen commented Oct 31, 2020

@vuongggggg @thaidn @dothanhlam97 . Theo em thấy thì cái đoạn CSS gây ra cái việc này là cái max-width mà a @vuongggggg và @dothanhlam97 đã ghi chú ở trên.
Nếu em ko nhầm thì có một version cũ của trang https://cuuhomientrung.info/admin/app/hodan/ cho phép chỉnh sửa trực tiếp trên cái table/grid hộ dân (trông nó như này - em chụp từ cái video :D):
image

Lên phiên bản hiện tại thì ko còn việc đó nữa.
image

Nên là cái CSS này ko cần nữa.
@dothanhlam97 Anh thấy là cái file css này nó outdate lắm. Có cách nào update nó, xóa cái đoạn css select phía trên đi. Và đặt cái max-height vào cái grid như yêu cầu từ bên các bạn tình nguyện viên được ko? - Cái này phải hỏi các bạn BE sao cái CSS nó lại outdate như vậy.

@dothanhlam97
Copy link
Collaborator

Em cũng đang tìm nguyên nhân sao cái css nó out of date + merge các nguồn file css lại.

@kc97ble kc97ble added enhancement improvement for existing feature medium priority low priority and removed medium priority labels Nov 3, 2020
@kc97ble
Copy link
Collaborator

kc97ble commented Nov 7, 2020

@dothanhlam97 có cập nhật gì không ạ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvement for existing feature low priority
Projects
None yet
Development

No branches or pull requests

6 participants