mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
Merge branch 'dynamic-marker-icons' of github.com:utopia-os/utopia-ui into dynamic-marker-icons
This commit is contained in:
commit
b88fecbbc0
@ -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