From 840d96eeebabb0aa80d647040b64fa6dcc3daa33 Mon Sep 17 00:00:00 2001 From: xi li <35586469+BBSQQ@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:18:26 +0800 Subject: [PATCH] fix(text): vis-text use parent container font-size (#13) * fix(text): vis-text use parent container font-size * Create rich-horses-look.md --------- Co-authored-by: lvisei --- .changeset/rich-horses-look.md | 5 +++++ src/Text/VisText.tsx | 3 +++ src/Text/demos/markdown.tsx | 8 +++++++- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .changeset/rich-horses-look.md diff --git a/.changeset/rich-horses-look.md b/.changeset/rich-horses-look.md new file mode 100644 index 0000000..7c426f4 --- /dev/null +++ b/.changeset/rich-horses-look.md @@ -0,0 +1,5 @@ +--- +'@antv/gpt-vis': patch +--- + +fix(text): vis-text use parent container font-size diff --git a/src/Text/VisText.tsx b/src/Text/VisText.tsx index f534f6f..b985cc0 100644 --- a/src/Text/VisText.tsx +++ b/src/Text/VisText.tsx @@ -29,6 +29,9 @@ const VisText = (props: VisTextProps) => { ( - {content} + {content} ); export default () => (