mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
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:
parent
5f5fbe6a13
commit
204444f42d
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "utopia-ui",
|
||||
"version": "3.0.85",
|
||||
"version": "3.0.86",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "utopia-ui",
|
||||
"version": "3.0.85",
|
||||
"version": "3.0.86",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@heroicons/react": "^2.0.17",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"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",
|
||||
"repository": "https://github.com/utopia-os/utopia-ui",
|
||||
"homepage": "https://utopia-os.org/",
|
||||
|
||||
@ -180,7 +180,7 @@ export const SearchControl = () => {
|
||||
{item.layer?.menuIcon ? (
|
||||
<SVG
|
||||
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 => {
|
||||
code = code.replace(/fill=".*?"/g, 'fill="currentColor"')
|
||||
code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user