mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 03:41:28 +00:00
Fix: Unresponsive click-area in folder-collection-item between chevron-icon and name
This commit is contained in:
@@ -282,6 +282,9 @@ const CollectionItem = ({ item, collection, searchText }) => {
|
||||
style={{
|
||||
paddingLeft: 8
|
||||
}}
|
||||
onClick={handleClick}
|
||||
onContextMenu={handleRightClick}
|
||||
onDoubleClick={handleDoubleClick}
|
||||
>
|
||||
<div style={{ width: 16, minWidth: 16 }}>
|
||||
{isFolder ? (
|
||||
@@ -297,9 +300,6 @@ const CollectionItem = ({ item, collection, searchText }) => {
|
||||
|
||||
<div
|
||||
className="ml-1 flex w-full h-full items-center overflow-hidden"
|
||||
onClick={handleClick}
|
||||
onContextMenu={handleRightClick}
|
||||
onDoubleClick={handleDoubleClick}
|
||||
>
|
||||
<CollectionItemIcon item={item} />
|
||||
<span className="item-name" title={item.name}>
|
||||
|
||||
Reference in New Issue
Block a user