fix(layout): line clamp opds url, closes #2726 (#2731)

This commit is contained in:
Huang Xin
2025-12-17 00:03:15 +08:00
committed by GitHub
parent 17c7fa8f41
commit fe50b513b3
@@ -191,7 +191,7 @@ export function CatalogManager() {
<div className='flex items-center justify-between'>
<div className='min-w-0 flex-1'>
<div className='mb-1 flex items-center justify-between'>
<h3 className='card-title truncate text-sm'>
<h3 className='card-title line-clamp-1 text-sm'>
{catalog.icon && <span className=''>{catalog.icon}</span>}
{catalog.name}
</h3>
@@ -208,7 +208,7 @@ export function CatalogManager() {
{catalog.description}
</p>
)}
<p className='text-base-content/50 truncate text-xs'>{catalog.url}</p>
<p className='text-base-content/50 line-clamp-1 text-xs'>{catalog.url}</p>
{catalog.username && (
<p className='text-base-content/50 mt-1 text-xs'>
{_('Username')}: {catalog.username}