mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
fix once and for all
This commit is contained in:
1 parent
3becee0ded
commit
78bbb1eae5
3 files changed
+11
-12
No files matched your search
@@ -457,13 +457,7 @@ export function RoomNavItem({
|
||||
marginTop: hideText ? toRem(5) : '0',
|
||||
userSelect: 'none',
|
||||
WebkitUserSelect: 'none',
|
||||
WebkitTouchCallout: 'none',
|
||||
WebkitTapHighlightColor: 'transparent',
|
||||
}}
|
||||
onTouchStart={onTouchStart}
|
||||
onTouchEnd={onTouchEnd}
|
||||
onTouchMove={onTouchMove}
|
||||
onTouchCancel={onTouchCancel}
|
||||
>
|
||||
<NavItem
|
||||
variant="Background"
|
||||
@@ -491,9 +485,17 @@ export function RoomNavItem({
|
||||
<NavButton
|
||||
onClick={handleNavItemClick}
|
||||
onPointerDown={() => warmupRoomDecryption(mx, room.roomId)}
|
||||
onTouchStart={onTouchStart}
|
||||
onTouchEnd={onTouchEnd}
|
||||
onTouchMove={onTouchMove}
|
||||
onTouchCancel={onTouchCancel}
|
||||
aria-label={ariaLabel}
|
||||
ref={triggerRef}
|
||||
style={hideTextStyling(hideText)}
|
||||
style={{
|
||||
...hideTextStyling(hideText),
|
||||
WebkitTouchCallout: 'none',
|
||||
WebkitTapHighlightColor: 'transparent',
|
||||
}}
|
||||
>
|
||||
<NavItemContent style={hideTextStyling(hideText)}>
|
||||
<Box
|
||||
|
||||
@@ -938,7 +938,9 @@ function MessageInternal(
|
||||
style={{
|
||||
width: '100%',
|
||||
WebkitTouchCallout: 'none',
|
||||
WebkitUserSelect: 'none',
|
||||
WebkitTapHighlightColor: 'transparent',
|
||||
userSelect: 'none',
|
||||
}}
|
||||
onContextMenu={handleContextMenu}
|
||||
onTouchStart={onTouchStart}
|
||||
|
||||
@@ -27,9 +27,4 @@
|
||||
html body [data-message-id][data-message-item]:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
* {
|
||||
-webkit-tap-highlight-color: transparent !important;
|
||||
-webkit-touch-callout: none !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user