fix: prevent long card titles from overflowing column width (#367)
This commit is contained in:
@@ -66,8 +66,8 @@ const Card = ({
|
|||||||
const hasDueDate = !!dueDate;
|
const hasDueDate = !!dueDate;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col rounded-md border border-light-200 bg-light-50 px-3 py-2 text-sm text-neutral-900 dark:border-dark-200 dark:bg-dark-200 dark:text-dark-1000 dark:hover:bg-dark-300">
|
<div className="flex flex-col overflow-hidden rounded-md border border-light-200 bg-light-50 px-3 py-2 text-sm text-neutral-900 dark:border-dark-200 dark:bg-dark-200 dark:text-dark-1000 dark:hover:bg-dark-300">
|
||||||
<span>{title}</span>
|
<span className="break-words">{title}</span>
|
||||||
{labels.length ||
|
{labels.length ||
|
||||||
members.length ||
|
members.length ||
|
||||||
checklists.length > 0 ||
|
checklists.length > 0 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user