Skip to content

Commit

Permalink
Add default spacing at the bottom of the table (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-murali-ind authored Jan 13, 2025
1 parent 0247b13 commit ce5ac2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/styles/editor/_table.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.neeto-editor-table {
position: relative;
width: fit-content;
margin: 8px 0 0;
margin: 1rem 0 0;
max-width: 100%;
overflow-x: auto;

Expand Down
1 change: 1 addition & 0 deletions src/styles/editor/editor-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
.table-responsive {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
margin: 1rem 0;
}

// Sizing
Expand Down
9 changes: 6 additions & 3 deletions stories/Walkthroughs/Output/EditorContentDemo.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta } from "@storybook/addon-docs";
import { Meta, Unstyled } from "@storybook/addon-docs";
import {
EDITOR_PROP_TABLE_COLUMNS,
EDITOR_CONTENT_PROP_TABLE_ROWS,
Expand All @@ -22,6 +22,9 @@ import EditorContentDemo from "./EditorContentDemo";

# EditorContent demo

To update the preview content, make use of the editor below. The changes will be instantly updated in the preview.
To update the preview content, make use of the editor below. The changes will be
instantly updated in the preview.

<EditorContentDemo />
<Unstyled>
<EditorContentDemo />
</Unstyled>

0 comments on commit ce5ac2a

Please sign in to comment.