fix: text overflowing in bookmarks

This commit is contained in:
Yordis Prieto 2024-10-29 20:38:04 -04:00
parent 0aea6a6c3f
commit 467333dd36
No known key found for this signature in database

View File

@ -29,9 +29,9 @@ export default function Item({ bookmark }) {
)} )}
{!bookmark.icon && bookmark.abbr} {!bookmark.icon && bookmark.abbr}
</div> </div>
<div className="flex-1 flex items-center justify-between rounded-r-md bookmark-text"> <div className="flex-1 overflow-hidden flex items-center justify-between rounded-r-md bookmark-text">
<div className="flex-1 grow pl-3 py-2 text-xs bookmark-name">{bookmark.name}</div> <div className="pl-3 py-2 text-xs bookmark-name">{bookmark.name}</div>
<div className="px-2 py-2 truncate text-theme-500 dark:text-theme-300 text-xs bookmark-description"> <div className="shrink truncate px-2 py-2 text-theme-500 dark:text-theme-300 text-xs bookmark-description">
{description} {description}
</div> </div>
</div> </div>