fix: enable to select text in buttons

This commit is contained in:
Shusui MOYATANI
2023-10-12 03:42:32 +09:00
parent 1e374dad2c
commit e37763ebc7
7 changed files with 13 additions and 12 deletions

View File

@@ -98,7 +98,10 @@ const TextNoteContentDisplay = (props: TextNoteContentDisplayProps) => {
}
if (item.type === 'HashTag') {
return (
<button class="text-blue-500 underline" onClick={() => addHashTagColumn(item.content)}>
<button
class="select-text text-blue-500 underline"
onClick={() => addHashTagColumn(item.content)}
>
{item.content}
</button>
);