Fix note title overflow
This commit is contained in:
parent
598f41fed2
commit
e3f3f9d5bd
@ -135,8 +135,11 @@ export default function Note({ data, onMouseDown }) {
|
|||||||
onMouseDown={onMouseDown}
|
onMouseDown={onMouseDown}
|
||||||
>
|
>
|
||||||
<div className="text-gray-900 select-none w-full h-full cursor-move px-3 py-2">
|
<div className="text-gray-900 select-none w-full h-full cursor-move px-3 py-2">
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between gap-1 w-full">
|
||||||
<label htmlFor={`note_${data.id}`} className="ms-5">
|
<label
|
||||||
|
htmlFor={`note_${data.id}`}
|
||||||
|
className="ms-5 overflow-hidden text-ellipsis"
|
||||||
|
>
|
||||||
{data.title}
|
{data.title}
|
||||||
</label>
|
</label>
|
||||||
{(hovered ||
|
{(hovered ||
|
||||||
|
Loading…
Reference in New Issue
Block a user