leaflet-geosearch icon indicating copy to clipboard operation
leaflet-geosearch copied to clipboard

Set height of search box to match surrounding boxes

Open paulschreiber opened this issue 2 years ago • 1 comments

Before: image

After: image

paulschreiber avatar Apr 19 '22 15:04 paulschreiber

It always did match, so something else changed as well. Did another leaflet version impact the size of the search and x icon? I'd love to apply a fix for this, but just bumping the pixels will break other environments.

I think we should do something with a flex box, giving the container a fixed height, and making the child elements center align within that. What do you think?

smeijer avatar Jun 07 '22 07:06 smeijer

Thanks, I'm going with it and get this merged :)

smeijer avatar Oct 03 '22 20:10 smeijer

@all-contributors please add @paulschreiber for code

smeijer avatar Oct 03 '22 20:10 smeijer

@smeijer

I've put up a pull request to add @paulschreiber! :tada:

allcontributors[bot] avatar Oct 03 '22 20:10 allcontributors[bot]

:tada: This PR is included in version 3.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

smeijer avatar Oct 03 '22 21:10 smeijer