Skip to content

Commit 452d3cb

Browse files
fix font size not working on text comp
1 parent 7948960 commit 452d3cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/packages/lowcoder-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lowcoder-sdk",
3-
"version": "2.4.4",
3+
"version": "2.4.5",
44
"type": "module",
55
"files": [
66
"src",

client/packages/lowcoder/src/comps/comps/textComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const TextContainer = styled.div<{
8989
props.$type === "text" && "white-space:break-spaces;line-height: 1.9;"};
9090
${(props) => props.$styleConfig && getStyle(props.$styleConfig)}
9191
display: flex;
92-
font-size: 13px;
92+
font-size: ${(props) => props.$styleConfig.textSize};
9393
${markdownCompCss};
9494
overflow-wrap: anywhere;
9595
.markdown-body {

0 commit comments

Comments
 (0)