Skip to content

Commit

Permalink
Merge pull request #49 from StagBIN/dev
Browse files Browse the repository at this point in the history
Properly render long tables
  • Loading branch information
vjspranav authored Apr 23, 2024
2 parents 6833586 + da10903 commit d28be1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/components/AceEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,16 @@ export default function PEditor() {
<div
className="container"
style={{
overflow: "hidden",
paddingBottom: "30px",
}}
>
<MDEditor.Markdown source={data} />
<MDEditor.Markdown
style={{
overflow: "auto",
}}
enableScroll={true}
source={data}
/>
</div>
);

Expand Down
3 changes: 2 additions & 1 deletion src/components/MonacoEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ export default function MEditor() {
const mkeditor = (
<div
style={{
overflow: "hidden",
paddingBottom: "30px",
width: "100%",
}}
Expand All @@ -233,7 +232,9 @@ export default function MEditor() {
source={data}
style={{
height: "100%",
overflow: "auto",
}}
enableScroll={true}
/>
</div>
);
Expand Down

0 comments on commit d28be1c

Please sign in to comment.