I am submitting this patch because I am not sure if this fully (or even correctly) addresses the issue and I did not want to mess with the MR. The patch was created off 8.x-3.0-rc-11
My issue was very closely related to this in that the items in my entity browser showed squished because the display on it was set to grid. The change I implemented (ontop of previous patch) was wrapping the .entities-list parent selector in another one .gin-entity-browser as done below for .entity-browser-form. Hopefully this helps!
Opened up an MR to help with this. I am not sure if it achieves all that you want, I incorporated some of the changes above. I left height as auto, but set max-height to 450px. Not sure if this is exactly the course you were looking to go, but it resolved for me.
billdaff β made their first commit to this issueβs fork.
For consistency I also updated the other declarations defining $options
billdaff β created an issue.
billdaff β created an issue.
billdaff β created an issue.
billdaff β created an issue.
billdaff β created an issue.
I'm encountering a styling issue with this that I can't quite figure out, see image. The input is too close to buttons. I think it has to do with the form container but I am not sure how this is normally done
Updated patch for 10.2.5
billdaff β created an issue.
Adding another null check on entity storage
Upon updating, it did not like setting to Null. There must have been a change to Checkboxes default value. I was receiving this warning/error:
Warning: foreach() argument must be of type array|object, null given in /var/www/html/docroot/core/lib/Drupal/Core/Render/Element/Checkboxes.php
I think instead of setting to NULL it should be set to a blank array. See attached patch