mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +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",
|
"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",
|
||||||
|
|||||||
@ -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/",
|
||||||
|
|||||||
@ -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"')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user