mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
Merge pull request #9068 from streetwriters/editor/fix-scroll-mobile-table
editor: fix scroll for tables in mobile
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