Open ksalamy opened 2 weeks ago
Using developer tools I see a css setting in the filters.css file that seems to affect the button visibility.
Before disabling min-width: max-content;
in the div.col-md
selector:
After disabling:
This change in the filters.css file was introduced in a commit made about 5 months ago: https://github.com/mbari-org/SeafloorMappingDB/commit/9b9e7ad224a186bb8d0eef55a19a342c23df602d#diff-39285c1134876be0fa983abf8b6470c283e2157151e1b68860d9f9d9cd5c7504R136
The .col-md
selector is used by Bootstrap's grid system: https://getbootstrap.com/docs/5.0/layout/grid/#grid-options
https://github.com/mbari-org/SeafloorMappingDB/pull/266#issuecomment-2452343385
The "Filter" and "Clear" buttons should always be visible no matter size of the browser's window. They are both visible if the window is at least 1731 pixels wide.
If the window is less than 1714 pixels wide the Clear button disappears and the Filter button becomes wider.
If the window is narrowed to be less than 1648 pixels then both the Filer and Clear buttons disappear