Skip to content

Commit

Permalink
move popup name into span to isolate text styles
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Apr 30, 2023
1 parent dfe4126 commit 34630d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/map/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,9 @@ export const generateMarker = (
element.tags && element.tags.name
? `<a href='/merchant/${element.type}:${
element.id
}' class='inline-block font-bold text-lg !text-link hover:!text-hover transition-colors leading-snug max-w-[300px]' title='Merchant name'>${
}' class='inline-block font-bold text-lg leading-snug max-w-[300px]' title='Merchant name'><span class='!text-link hover:!text-hover transition-colors'>${
element.tags.name
} ${description ? `<span id='description' title='Description'></span>` : ''}</a>`
}</span> ${description ? `<span id='description' title='Description'></span>` : ''}</a>`
: ''
}
Expand Down

0 comments on commit 34630d9

Please sign in to comment.