From 4d0448bbcd641d21efffff3097f6b60f027b9b0a Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Fri, 17 Nov 2023 20:52:16 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20table=20overflow=20(#277)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/fair-emus-matter.md | 5 +++++ packages/myst-to-react/src/basic.tsx | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changeset/fair-emus-matter.md diff --git a/.changeset/fair-emus-matter.md b/.changeset/fair-emus-matter.md new file mode 100644 index 000000000..69bd03041 --- /dev/null +++ b/.changeset/fair-emus-matter.md @@ -0,0 +1,5 @@ +--- +'myst-to-react': patch +--- + +Fix table overflow inside of a figure diff --git a/packages/myst-to-react/src/basic.tsx b/packages/myst-to-react/src/basic.tsx index d50693c4c..8660de5e2 100644 --- a/packages/myst-to-react/src/basic.tsx +++ b/packages/myst-to-react/src/basic.tsx @@ -214,10 +214,7 @@ const BASIC_RENDERERS: BasicNodeRenderers = { }, container({ node }) { return ( -
+
);