Merge branch 'dynamic-marker-icons' of github.com:utopia-os/utopia-ui into dynamic-marker-icons

This commit is contained in:
Anton Tranelis 2025-05-20 20:44:19 +02:00
commit b88fecbbc0

View File

@ -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"')