Merge branch 'main' into dynamic-marker-icons

This commit is contained in:
Anton Tranelis 2025-05-20 20:32:39 +02:00 committed by GitHub
commit 318201ea6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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