fix: truncate text on filter to x icon fits the parent div (#3941)
🔧 (index.tsx): improve layout of sidebarFilterComponent to display type in a more readable way
This commit is contained in:
parent
11d0f4487b
commit
232b0d7d00
1 changed files with 5 additions and 2 deletions
|
|
@ -18,8 +18,11 @@ export function SidebarFilterComponent({
|
||||||
name="ListFilter"
|
name="ListFilter"
|
||||||
className="h-4 w-4 shrink-0 stroke-2"
|
className="h-4 w-4 shrink-0 stroke-2"
|
||||||
/>
|
/>
|
||||||
<div className="flex-1 overflow-hidden truncate">
|
<div className="flex flex-1">
|
||||||
{isInput ? "Input" : "Output"}: {type}
|
{isInput ? "Input" : "Output"}:{" "}
|
||||||
|
<div className="w-[5.7rem] flex-1 overflow-hidden truncate pl-1">
|
||||||
|
{type}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ShadTooltip
|
<ShadTooltip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue