forked from github/plane
fix: description truncating after 1 line
This commit is contained in:
parent
442bbe41ac
commit
09a6039790
@ -60,13 +60,13 @@ export const ProjectViewListItem: React.FC<Props> = observer((props) => {
|
||||
<Link href={`/${workspaceSlug}/projects/${projectId}/views/${view.id}`}>
|
||||
<a className="flex items-center justify-between relative rounded p-4 w-full">
|
||||
<div className="flex items-center justify-between w-full">
|
||||
<div className="flex items-center gap-4 truncate">
|
||||
<div className="flex items-center gap-4 overflow-auto">
|
||||
<div className="grid place-items-center flex-shrink-0 h-10 w-10 rounded bg-custom-background-90 group-hover:bg-custom-background-100">
|
||||
<PhotoFilterIcon className="h-3.5 w-3.5" />
|
||||
</div>
|
||||
<div className="flex flex-col truncate">
|
||||
<div className="flex flex-col overflow-auto">
|
||||
<p className="text-sm leading-4 font-medium break-all truncate">{view.name}</p>
|
||||
{view?.description && <p className="text-xs text-custom-text-200 break-all truncate">{view.description}</p>}
|
||||
{view?.description && <p className="text-xs text-custom-text-200 break-all">{view.description}</p>}
|
||||
</div>
|
||||
</div>
|
||||
<div className="ml-2 flex flex-shrink-0">
|
||||
|
Loading…
Reference in New Issue
Block a user