mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-27 12:26:29 -08:00
disable swipe gestures and adjust padding
This commit is contained in:
1 parent
28c34f7219
commit
cfad2cb420
2 files changed
+5
-1
No files matched your search
@@ -764,6 +764,9 @@ export function MobileOptionsInternal({ options }: { options: OptionMenuProps })
|
||||
options.closeMenu();
|
||||
setIsActive(false);
|
||||
}}
|
||||
onTouchStart={(e: React.TouchEvent) => e.stopPropagation()}
|
||||
onTouchMove={(e: React.TouchEvent) => e.stopPropagation()}
|
||||
onTouchEnd={(e: React.TouchEvent) => e.stopPropagation()}
|
||||
>
|
||||
<Box
|
||||
className={css.MessageMobileOptionsContainer}
|
||||
|
||||
@@ -90,7 +90,8 @@ export const MessageMobileDragHandle = style({
|
||||
right: '0',
|
||||
height: '32px',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
alignItems: 'flex-start',
|
||||
paddingTop: '6px',
|
||||
justifyContent: 'center',
|
||||
zIndex: 10,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user