Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Theme/setting #891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
May 20, 2024
Prev Previous commit
Next Next commit
text comp styling adjusted
  • Loading branch information
MenamAfzal committed May 17, 2024
commit 150fba8e8d9ebcad7ea55ee5d2becbffc599e73f
8 changes: 4 additions & 4 deletions client/packages/lowcoder/src/comps/comps/textComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ const getStyle = (style: TextStyleType) => {
border-radius: ${(style.radius ? style.radius : "4px")};
border: ${(style.borderWidth ? style.borderWidth : "0px")} solid ${style.border};
color: ${style.text};
font-size: ${style.textSize} !important;
font-weight: ${style.textWeight} !important;
font-family: ${style.fontFamily} !important;
font-style:${style.fontStyle} !important;
text-transform:${style.textTransform} !important;
text-decoration:${style.textDecoration} !important;
background-color: ${style.background};
Expand All @@ -40,6 +36,9 @@ const getStyle = (style: TextStyleType) => {
margin: ${style.margin} !important;
padding: ${style.padding};
width: ${widthCalculator(style.margin)};
font-family: ${style.fontFamily} !important;
font-style:${style.fontStyle} !important;
font-size: ${style.textSize} !important;
// height: ${heightCalculator(style.margin)};
h1 {
line-height: 1.5;
Expand All @@ -60,6 +59,7 @@ const getStyle = (style: TextStyleType) => {
h5,
h6 {
color: ${style.text};
font-weight: ${style.textWeight} !important;
}
img,
pre {
Expand Down
Loading