Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: make table width adjustable

Abdullah Atta17c1e77f542c
diff --git a/packages/editor/src/extensions/table/component.tsx b/packages/editor/src/extensions/table/component.tsx
index 36b2bd856..dec310723 100644
--- a/packages/editor/src/extensions/table/component.tsx
+++ b/packages/editor/src/extensions/table/component.tsx
@@ -69,10 +69,7 @@ export function TableComponent(props: ReactNodeViewProps) {
/>
</DesktopOnly>
<SimpleBar autoHide>
- <Box
- dir={textDirection}
- sx={{ "& table": { width: "100% !important" } }}
- >
+ <Box dir={textDirection}>
<table
ref={(ref) => {
forwardRef?.(ref);