fix(ui): fix text overflow
This commit is contained in:
parent
a06fb42e12
commit
07072f74b0
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ function SavedSearch(props) {
|
|||
<div className="flex items-center ml-2">
|
||||
<Icon name="search" size="14" />
|
||||
<span className="color-gray-medium px-1">Viewing:</span>
|
||||
<span className="font-medium" style={{ whiteSpace: 'nowrap', width: '30%'}}>{savedSearch.name}</span>
|
||||
<span className="font-medium" style={{ whiteSpace: 'nowrap', width: '30%' }}>
|
||||
{savedSearch.name.length > 15 ? `${savedSearch.name.slice(0, 15)}...` : savedSearch.name}
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue