makinacorpus / django-mapentity

Generic CRUD for geographic data
https://django-mapentity.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
42 stars 20 forks source link

Increase size of filters popup #304

Closed Chatewgne closed 4 months ago

Chatewgne commented 4 months ago

Before : image

After : image

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.01%. Comparing base (be35fbc) to head (403b669).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #304 +/- ## ======================================= Coverage 91.01% 91.01% ======================================= Files 32 32 Lines 2403 2403 ======================================= Hits 2187 2187 Misses 216 216 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dtrucs commented 4 months ago

It can be problematic to remove this CSS property if you have a form larger than the height of your screen; without he overflow the max-height prop is ignored and the content of the popup window must exceed the screen size.

dtrucs commented 4 months ago

Maybe you can add an extra padding to your input container if the last item contains an input with multiple choices

#mainfilter .form-group > p:last-child:has(.chosen-container-multi) {
  padding-bottom: 12rem;
}