mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-05-18 05:05:36 +02:00
editor: fix scroll for tables in mobile
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -119,7 +119,15 @@ export function TableComponent(
|
||||
</SimpleBar>
|
||||
</DesktopOnly>
|
||||
<MobileOnly>
|
||||
<div dir={textDirection}>
|
||||
<div
|
||||
dir={textDirection}
|
||||
style={{
|
||||
overflowY: "hidden",
|
||||
overflowX: "auto",
|
||||
WebkitOverflowScrolling: "touch",
|
||||
maxWidth: "100%"
|
||||
}}
|
||||
>
|
||||
<table
|
||||
ref={(ref) => {
|
||||
forwardRef?.(ref);
|
||||
|
||||
Reference in New Issue
Block a user