mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-26 01:44:05 +01:00
feat: add class when collection name is hovered during drag and drop
Resolves #849
This commit is contained in:
parent
b633fc58d2
commit
c46fbfbde3
@ -33,7 +33,8 @@ const Wrapper = styled.div`
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&.item-hovered {
|
||||
background: ${(props) => props.theme.sidebar.collection.item.hoverBg};
|
||||
.menu-icon {
|
||||
.dropdown {
|
||||
|
@ -84,7 +84,8 @@ const CollectionItem = ({ item, collection, searchText }) => {
|
||||
});
|
||||
|
||||
const itemRowClassName = classnames('flex collection-item-name items-center', {
|
||||
'item-focused-in-tab': item.uid == activeTabUid
|
||||
'item-focused-in-tab': item.uid == activeTabUid,
|
||||
'item-hovered': isOver
|
||||
});
|
||||
|
||||
const scrollToTheActiveTab = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user