fix(mobile): explorer node touch optimization (#8101)

close AF-1338
This commit is contained in:
CatsJuice
2024-09-05 02:18:28 +00:00
parent 416faba2bc
commit 06552a1120
5 changed files with 40 additions and 37 deletions
@@ -73,10 +73,7 @@ export const mobileRoot = style([
padding: '0 16px',
selectors: {
'&[data-collapsible="true"]:hover': {
backgroundColor: 'transparent',
},
'&[data-collapsible="true"]:active': {
backgroundColor: cssVarV2('layer/background/hoverOverlay'),
backgroundColor: 'none',
},
},
},
@@ -53,9 +53,11 @@ export const CategoryDivider = forwardRef(
/>
) : null}
</div>
<div className={styles.actions} onClick={e => e.stopPropagation()}>
{children}
</div>
{mobile ? null : (
<div className={styles.actions} onClick={e => e.stopPropagation()}>
{children}
</div>
)}
</div>
);
}