fix(source): fix searchbar layout bug (#220)

* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* fix layout bug in searchbar
This commit is contained in:
Anton Tranelis 2025-05-17 10:11:43 +02:00 committed by GitHub
parent 5f5fbe6a13
commit 204444f42d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "utopia-ui", "name": "utopia-ui",
"version": "3.0.85", "version": "3.0.86",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "utopia-ui", "name": "utopia-ui",
"version": "3.0.85", "version": "3.0.86",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {
"@heroicons/react": "^2.0.17", "@heroicons/react": "^2.0.17",

View File

@ -1,6 +1,6 @@
{ {
"name": "utopia-ui", "name": "utopia-ui",
"version": "3.0.85", "version": "3.0.86",
"description": "Reuseable React Components to build mapping apps for real life communities and networks", "description": "Reuseable React Components to build mapping apps for real life communities and networks",
"repository": "https://github.com/utopia-os/utopia-ui", "repository": "https://github.com/utopia-os/utopia-ui",
"homepage": "https://utopia-os.org/", "homepage": "https://utopia-os.org/",

View File

@ -180,7 +180,7 @@ export const SearchControl = () => {
{item.layer?.menuIcon ? ( {item.layer?.menuIcon ? (
<SVG <SVG
src={item.layer.menuIcon} src={item.layer.menuIcon}
className='tw:text-current tw:mr-2 tw:mt-0 tw:w-5' className='tw:text-current tw:mr-2 tw:mt-0 tw:w-5 tw:h-5'
preProcessor={(code: string): string => { preProcessor={(code: string): string => {
code = code.replace(/fill=".*?"/g, 'fill="currentColor"') code = code.replace(/fill=".*?"/g, 'fill="currentColor"')
code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"') code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"')