Skip to content

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

web: make table row toolbar vertical for compactness

Abdullah Atta9701a3d66022
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx
index 32c1e2e9f..8423411b2 100644
--- a/apps/web/src/components/editor/index.tsx
+++ b/apps/web/src/components/editor/index.tsx
@@ -308,7 +308,7 @@ function EditorChrome(props: PropsWithChildren<EditorProps>) {
? "min(100%, 850px)"
: "max(calc(100% - 200px), 850px)"
}}
- px={2}
+ px={6}
onClick={onRequestFocus}
// mt={[2, 2, 25]}
>
diff --git a/packages/editor/src/extensions/table/component.tsx b/packages/editor/src/extensions/table/component.tsx
index 267c23062..48459b0e7 100644
--- a/packages/editor/src/extensions/table/component.tsx
+++ b/packages/editor/src/extensions/table/component.tsx
@@ -150,6 +150,7 @@ function TableRowToolbar(props: TableToolbarProps) {
bg: "background",
flexWrap: "nowrap",
borderRadius: "default",
+ flexDirection: "column",
opacity: 0.3,
":hover": {
opacity: 1